File size: 248 Bytes
e7c953d
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
'use strict';

function DubAPIError(message) {
    Error.captureStackTrace(this);
    this.name = 'DubAPIError';
    this.message = message || '';
}

DubAPIError.prototype = Object.create(Error.prototype);

module.exports = DubAPIError;