hedera-web/js/vn/json-exception.js

23 lines
375 B
JavaScript

/**
* This class stores the database errors.
*/
module.exports = new Class
({
exception: null
,message: null
,code: null
,file: null
,line: null
,trace: null
,initialize(exception, message, code, file, line, trace) {
this.exception = exception;
this.message = message;
this.code = code;
this.file = file;
this.line = line;
this.trace = trace;
}
});