UNPKG

rocket.chat.mqtt

Version:

It's a MQTT Server, using redis to scale horizontally.

17 lines (11 loc) 303 B
'use strict'; var util = require('util'); function ReplyError(message) { this.name = this.constructor.name; this.message = message || ''; if (Error.captureStackTrace) { Error.captureStackTrace(this, this.constructor); } }; util.inherits(ReplyError, Error); module.exports = ReplyError;