UNPKG

@abaplint/runtime

Version:
14 lines 385 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.throwError = throwError; function throwError(name) { // @ts-ignore if (abap.Classes[name] !== undefined) { // @ts-ignore throw new abap.Classes[name](); } else { throw new Error(`Global class ${name} not found`); } } //# sourceMappingURL=throw_error.js.map