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