UNPKG

@sap/xsodata

Version:

Expose data from a HANA database as OData V2 service with help of .xsodata files.

21 lines (17 loc) 604 B
'use strict'; const util = require('util'); const HttpError = require('./../httpError'); module.exports = NotSupported; /** * 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 NotSupported(message, context, cause) { HttpError.call(this, message, context, cause, 501); this.context = context; } util.inherits(NotSupported, HttpError);