UNPKG

@sap/xsodata

Version:

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

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