@sap/xsodata
Version:
Expose data from a HANA database as OData V2 service with help of .xsodata files.
22 lines (17 loc) • 606 B
JavaScript
;
var util = require('util');
var HttpError = require('./../httpError');
module.exports = NotImplemented;
/**
* Use NotImplemented if a feature is not supported yet, but WILL BE implemented somehow in the future
* Use NotSupported if a feature is not supported yet, but will NEVER be implemented due to XS1 behaviour and design decisions
* @param message
* @param cause
* @param context
* @constructor
*/
function NotImplemented(message, context, cause) {
HttpError.call(this, message, context,cause, 501);
this.context = context;
}
util.inherits(NotImplemented, HttpError);