0
1
Fork 0
hedera-web-mindshore/js/vn/json-exception.js

16 lines
367 B
JavaScript
Raw Permalink Normal View History

/**
* This class stores the database errors.
2022-05-26 06:08:31 +00:00
*/
2022-11-28 08:51:31 +00:00
module.exports = class JsonException {
constructor(exception, message, code, file, line, trace, statucCode) {
this.name = 'JsonException';
this.exception = exception;
this.message = message;
this.code = code;
this.file = file;
this.line = line;
this.trace = trace;
2022-11-28 08:51:31 +00:00
this.statusCode = statucCode;
}
2022-11-28 08:51:31 +00:00
}