forked from hearit-io/redis-channels
-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.js
33 lines (31 loc) · 806 Bytes
/
errors.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// ============================================================================|
/*
* Project : HEARIT
*
* Developing an innovative connected/smart home intelligent
* management system for the needs of blind or visually impaired
* persons.
*
* The project has received funding from the European Regional
* Development Fund through the Operational Program
* "Innovation and Competitiveness"
*
* Purpose: Defines the package errors.
*
* Author: hearit.io
*
* License:
*
* MIT License
*
*/
// ============================================================================|
'use strict'
class RedisChannelsError extends Error {
constructor (message, error = null) {
super(message)
this.error = error
Error.captureStackTrace(this, RedisChannelsError)
}
}
module.exports = { RedisChannelsError }