@abaplint/runtime 2.1.56 → 2.1.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ClassicError = void 0;
|
|
4
|
+
class ClassicError extends Error {
|
|
5
|
+
constructor(input) {
|
|
6
|
+
super();
|
|
7
|
+
this.classic = input.classic;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.ClassicError = ClassicError;
|
|
11
|
+
//# sourceMappingURL=classic_error.js.map
|
package/build/src/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import * as operators from "./operators";
|
|
|
11
11
|
import * as RFC from "./rfc";
|
|
12
12
|
import * as types from "./types";
|
|
13
13
|
import { expandIN } from "./expand_in";
|
|
14
|
+
import { ClassicError } from "./classic_error";
|
|
14
15
|
export { UnitTestResult, RFC, types, DB };
|
|
15
16
|
export declare class ABAP {
|
|
16
17
|
FunctionModules: {
|
|
@@ -34,6 +35,7 @@ export declare class ABAP {
|
|
|
34
35
|
OffsetLength: typeof OffsetLength;
|
|
35
36
|
templateFormatting: typeof templateFormatting;
|
|
36
37
|
expandIN: typeof expandIN;
|
|
38
|
+
ClassicError: typeof ClassicError;
|
|
37
39
|
readonly context: Context;
|
|
38
40
|
constructor();
|
|
39
41
|
}
|
package/build/src/index.js
CHANGED
|
@@ -18,6 +18,7 @@ exports.RFC = RFC;
|
|
|
18
18
|
const types = require("./types");
|
|
19
19
|
exports.types = types;
|
|
20
20
|
const expand_in_1 = require("./expand_in");
|
|
21
|
+
const classic_error_1 = require("./classic_error");
|
|
21
22
|
class ABAP {
|
|
22
23
|
constructor() {
|
|
23
24
|
// global objects
|
|
@@ -32,6 +33,7 @@ class ABAP {
|
|
|
32
33
|
this.OffsetLength = offset_length_1.OffsetLength;
|
|
33
34
|
this.templateFormatting = template_formatting_1.templateFormatting;
|
|
34
35
|
this.expandIN = expand_in_1.expandIN;
|
|
36
|
+
this.ClassicError = classic_error_1.ClassicError;
|
|
35
37
|
this.context = new context_1.Context();
|
|
36
38
|
this.console = new console_1.Console();
|
|
37
39
|
this.context.console = this.console;
|