turf-common 1.0.12 → 1.0.14
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IAppBadRequestException } from "../types/app-badrequest-exception.type";
|
|
2
2
|
export declare class AppBadRequestException extends Error {
|
|
3
3
|
private _error;
|
|
4
|
+
private key;
|
|
4
5
|
constructor(appBadRequestException: IAppBadRequestException);
|
|
5
|
-
get error():
|
|
6
|
+
get error(): string;
|
|
6
7
|
}
|
|
@@ -22,11 +22,12 @@ var AppBadRequestException = /** @class */ (function (_super) {
|
|
|
22
22
|
var _this = _super.call(this) || this;
|
|
23
23
|
_this.message = appBadRequestException.message.join(",");
|
|
24
24
|
_this._error = appBadRequestException;
|
|
25
|
+
_this.key = appBadRequestException.key;
|
|
25
26
|
return _this;
|
|
26
27
|
}
|
|
27
28
|
Object.defineProperty(AppBadRequestException.prototype, "error", {
|
|
28
29
|
get: function () {
|
|
29
|
-
return this.
|
|
30
|
+
return this.key;
|
|
30
31
|
},
|
|
31
32
|
enumerable: false,
|
|
32
33
|
configurable: true
|