UNPKG

@abaplint/runtime

Version:
13 lines 418 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.throwError = throwError; // todo: add possibility to pass parameters to the exception constructor function throwError(name) { if (abap.Classes[name] !== undefined) { throw new abap.Classes[name](); } else { throw new Error(`Global class ${name} not found`); } } //# sourceMappingURL=throw_error.js.map