UNPKG

@sap/xsodata

Version:

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

21 lines (16 loc) 465 B
'use strict'; var util = require('util'); var HttpError = require('./../httpError'); module.exports = NotFound; /** * Error indicating an XSOData internal problem, e.g. used in try/catch statements to catch runtime errors * @param message * @param cause * @param context * @constructor */ function NotFound(message, context, cause) { HttpError.call(this, message, context,cause, 404); this.context = context; } util.inherits(NotFound, HttpError);