@sap/xsodata
Version:
Expose data from a HANA database as OData V2 service with help of .xsodata files.
20 lines (16 loc) • 426 B
JavaScript
;
var util = require('util');
var ApplicationError = require('./applicationError');
module.exports = TestError;
/**
* Solely used for testing purposes
* @param message
* @param context
* @constructor
*/
function TestError(message, context) {
ApplicationError.call(this, message, context);
this.name = this.constructor.name;
this.message = message;
}
util.inherits(TestError, ApplicationError);