forked from verdnatura/hedera-web
23 lines
385 B
JavaScript
23 lines
385 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: function(exception, message, code, file, line, trace) {
|
|
this.exception = exception;
|
|
this.message = message;
|
|
this.code = code;
|
|
this.file = file;
|
|
this.line = line;
|
|
this.trace = trace;
|
|
}
|
|
});
|
|
|