@nr1e/commons 0.0.2-alpha.12 → 0.0.2-alpha.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.
- package/errors/errors.d.ts +17 -18
- package/errors/errors.js +43 -14
- package/errors/errors.js.map +1 -1
- package/package.json +1 -1
package/errors/errors.d.ts
CHANGED
|
@@ -2,11 +2,18 @@ import { HttpStatusCode } from '../http';
|
|
|
2
2
|
interface IError {
|
|
3
3
|
stack?: string;
|
|
4
4
|
name?: string;
|
|
5
|
+
message?: string;
|
|
5
6
|
statusCode?: HttpStatusCode | number;
|
|
6
7
|
}
|
|
7
|
-
export interface
|
|
8
|
-
|
|
8
|
+
export interface HttpError extends Error {
|
|
9
|
+
statusCode: HttpStatusCode | number;
|
|
9
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* Checks if the given parameter is an HttpError.
|
|
13
|
+
*
|
|
14
|
+
* @param e the parameter to check
|
|
15
|
+
*/
|
|
16
|
+
export declare function isHttpError(e?: IError | null): e is HttpError;
|
|
10
17
|
/**
|
|
11
18
|
* Checks if the given parameter is a NotFoundError.
|
|
12
19
|
*
|
|
@@ -16,9 +23,8 @@ export declare function isNotFoundError(e?: IError | null): e is NotFoundError;
|
|
|
16
23
|
/**
|
|
17
24
|
* Thrown when a resource cannot be found.
|
|
18
25
|
*/
|
|
19
|
-
export declare class NotFoundError extends Error {
|
|
26
|
+
export declare class NotFoundError extends Error implements HttpError {
|
|
20
27
|
readonly statusCode = HttpStatusCode.NOT_FOUND;
|
|
21
|
-
readonly body: ErrorBody | undefined;
|
|
22
28
|
constructor(message?: string);
|
|
23
29
|
}
|
|
24
30
|
/**
|
|
@@ -30,9 +36,8 @@ export declare function isForbiddenError(e?: IError | null): e is ForbiddenError
|
|
|
30
36
|
/**
|
|
31
37
|
* Thrown when a requested operations is not allowed.
|
|
32
38
|
*/
|
|
33
|
-
export declare class ForbiddenError extends Error {
|
|
39
|
+
export declare class ForbiddenError extends Error implements HttpError {
|
|
34
40
|
readonly statusCode = HttpStatusCode.FORBIDDEN;
|
|
35
|
-
readonly body: ErrorBody | undefined;
|
|
36
41
|
constructor(message?: string);
|
|
37
42
|
}
|
|
38
43
|
/**
|
|
@@ -44,9 +49,8 @@ export declare function isValidationError(e?: IError | null): e is ValidationErr
|
|
|
44
49
|
/**
|
|
45
50
|
* Thrown when a validation error occurs.
|
|
46
51
|
*/
|
|
47
|
-
export declare class ValidationError extends Error {
|
|
52
|
+
export declare class ValidationError extends Error implements HttpError {
|
|
48
53
|
readonly statusCode = HttpStatusCode.BAD_REQUEST;
|
|
49
|
-
readonly body: ErrorBody | undefined;
|
|
50
54
|
constructor(message?: string);
|
|
51
55
|
}
|
|
52
56
|
/**
|
|
@@ -58,9 +62,8 @@ export declare function isBadRequestError(e?: IError | null): e is BadRequestErr
|
|
|
58
62
|
/**
|
|
59
63
|
* Thrown when a bad request is made.
|
|
60
64
|
*/
|
|
61
|
-
export declare class BadRequestError extends Error {
|
|
65
|
+
export declare class BadRequestError extends Error implements HttpError {
|
|
62
66
|
readonly statusCode = HttpStatusCode.BAD_REQUEST;
|
|
63
|
-
readonly body: ErrorBody | undefined;
|
|
64
67
|
constructor(message?: string);
|
|
65
68
|
}
|
|
66
69
|
/**
|
|
@@ -72,9 +75,8 @@ export declare function isInternalServerError(e?: IError | null): e is InternalS
|
|
|
72
75
|
/**
|
|
73
76
|
* Throws when an internal server error occurs.
|
|
74
77
|
*/
|
|
75
|
-
export declare class InternalServerError extends Error {
|
|
78
|
+
export declare class InternalServerError extends Error implements HttpError {
|
|
76
79
|
readonly statusCode = HttpStatusCode.INTERNAL_SERVER_ERROR;
|
|
77
|
-
readonly body: ErrorBody | undefined;
|
|
78
80
|
constructor(message?: string);
|
|
79
81
|
}
|
|
80
82
|
/**
|
|
@@ -86,9 +88,8 @@ export declare function isConflictError(e?: IError | null): e is ConflictError;
|
|
|
86
88
|
/**
|
|
87
89
|
* Thrown when a conflict occurs.
|
|
88
90
|
*/
|
|
89
|
-
export declare class ConflictError extends Error {
|
|
91
|
+
export declare class ConflictError extends Error implements HttpError {
|
|
90
92
|
readonly statusCode = HttpStatusCode.CONFLICT;
|
|
91
|
-
readonly body: ErrorBody | undefined;
|
|
92
93
|
constructor(message?: string);
|
|
93
94
|
}
|
|
94
95
|
/**
|
|
@@ -100,9 +101,8 @@ export declare function isUnsupportedMediaTypeError(e?: IError | null): e is Uns
|
|
|
100
101
|
/**
|
|
101
102
|
* Thrown when a unsupported media type is used.
|
|
102
103
|
*/
|
|
103
|
-
export declare class UnsupportedMediaTypeError extends Error {
|
|
104
|
+
export declare class UnsupportedMediaTypeError extends Error implements HttpError {
|
|
104
105
|
readonly statusCode = HttpStatusCode.UNSUPPORTED_MEDIA_TYPE;
|
|
105
|
-
readonly body: ErrorBody | undefined;
|
|
106
106
|
constructor(message?: string);
|
|
107
107
|
}
|
|
108
108
|
/**
|
|
@@ -114,9 +114,8 @@ export declare function isNotImplementedError(e?: IError | null): e is NotImplem
|
|
|
114
114
|
/**
|
|
115
115
|
* Thrown when a requested operation is not implemented.
|
|
116
116
|
*/
|
|
117
|
-
export declare class NotImplementedError extends Error {
|
|
117
|
+
export declare class NotImplementedError extends Error implements HttpError {
|
|
118
118
|
readonly statusCode = HttpStatusCode.NOT_IMPLEMENTED;
|
|
119
|
-
readonly body: ErrorBody | undefined;
|
|
120
119
|
readonly expose = true;
|
|
121
120
|
constructor(message?: string);
|
|
122
121
|
}
|
package/errors/errors.js
CHANGED
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NotImplementedError = exports.isNotImplementedError = exports.UnsupportedMediaTypeError = exports.isUnsupportedMediaTypeError = exports.ConflictError = exports.isConflictError = exports.InternalServerError = exports.isInternalServerError = exports.BadRequestError = exports.isBadRequestError = exports.ValidationError = exports.isValidationError = exports.ForbiddenError = exports.isForbiddenError = exports.NotFoundError = exports.isNotFoundError = void 0;
|
|
3
|
+
exports.NotImplementedError = exports.isNotImplementedError = exports.UnsupportedMediaTypeError = exports.isUnsupportedMediaTypeError = exports.ConflictError = exports.isConflictError = exports.InternalServerError = exports.isInternalServerError = exports.BadRequestError = exports.isBadRequestError = exports.ValidationError = exports.isValidationError = exports.ForbiddenError = exports.isForbiddenError = exports.NotFoundError = exports.isNotFoundError = exports.isHttpError = void 0;
|
|
4
4
|
const http_1 = require("../http");
|
|
5
|
+
/**
|
|
6
|
+
* Checks if the given parameter is an HttpError.
|
|
7
|
+
*
|
|
8
|
+
* @param e the parameter to check
|
|
9
|
+
*/
|
|
10
|
+
function isHttpError(e) {
|
|
11
|
+
return !!(e &&
|
|
12
|
+
e.stack &&
|
|
13
|
+
e.statusCode &&
|
|
14
|
+
e.message &&
|
|
15
|
+
e.name &&
|
|
16
|
+
e.name === 'HttpError');
|
|
17
|
+
}
|
|
18
|
+
exports.isHttpError = isHttpError;
|
|
5
19
|
/**
|
|
6
20
|
* Checks if the given parameter is a NotFoundError.
|
|
7
21
|
*
|
|
@@ -11,6 +25,7 @@ function isNotFoundError(e) {
|
|
|
11
25
|
return !!(e &&
|
|
12
26
|
e.stack &&
|
|
13
27
|
e.statusCode &&
|
|
28
|
+
e.message &&
|
|
14
29
|
e.name &&
|
|
15
30
|
e.name === 'NotFoundError');
|
|
16
31
|
}
|
|
@@ -23,7 +38,6 @@ class NotFoundError extends Error {
|
|
|
23
38
|
message = message !== null && message !== void 0 ? message : 'Not found';
|
|
24
39
|
super(message);
|
|
25
40
|
this.statusCode = http_1.HttpStatusCode.NOT_FOUND;
|
|
26
|
-
this.body = { message };
|
|
27
41
|
this.name = 'NotFoundError';
|
|
28
42
|
}
|
|
29
43
|
}
|
|
@@ -37,6 +51,7 @@ function isForbiddenError(e) {
|
|
|
37
51
|
return !!(e &&
|
|
38
52
|
e.stack &&
|
|
39
53
|
e.statusCode &&
|
|
54
|
+
e.message &&
|
|
40
55
|
e.name &&
|
|
41
56
|
e.name === 'ForbiddenError');
|
|
42
57
|
}
|
|
@@ -49,7 +64,6 @@ class ForbiddenError extends Error {
|
|
|
49
64
|
message = message !== null && message !== void 0 ? message : 'Forbidden';
|
|
50
65
|
super(message);
|
|
51
66
|
this.statusCode = http_1.HttpStatusCode.FORBIDDEN;
|
|
52
|
-
this.body = { message };
|
|
53
67
|
this.name = 'ForbiddenError';
|
|
54
68
|
}
|
|
55
69
|
}
|
|
@@ -60,7 +74,11 @@ exports.ForbiddenError = ForbiddenError;
|
|
|
60
74
|
* @param e the variable to check
|
|
61
75
|
*/
|
|
62
76
|
function isValidationError(e) {
|
|
63
|
-
return !!(e &&
|
|
77
|
+
return !!(e &&
|
|
78
|
+
e.stack &&
|
|
79
|
+
e.statusCode &&
|
|
80
|
+
e.message &&
|
|
81
|
+
e.name === 'ValidationError');
|
|
64
82
|
}
|
|
65
83
|
exports.isValidationError = isValidationError;
|
|
66
84
|
/**
|
|
@@ -71,7 +89,6 @@ class ValidationError extends Error {
|
|
|
71
89
|
message = message !== null && message !== void 0 ? message : 'Validation error';
|
|
72
90
|
super(message);
|
|
73
91
|
this.statusCode = http_1.HttpStatusCode.BAD_REQUEST;
|
|
74
|
-
this.body = { message };
|
|
75
92
|
this.name = 'ValidationError';
|
|
76
93
|
}
|
|
77
94
|
}
|
|
@@ -82,7 +99,11 @@ exports.ValidationError = ValidationError;
|
|
|
82
99
|
* @param e the parameter to check
|
|
83
100
|
*/
|
|
84
101
|
function isBadRequestError(e) {
|
|
85
|
-
return !!(e &&
|
|
102
|
+
return !!(e &&
|
|
103
|
+
e.stack &&
|
|
104
|
+
e.statusCode &&
|
|
105
|
+
e.message &&
|
|
106
|
+
e.name === 'BadRequestError');
|
|
86
107
|
}
|
|
87
108
|
exports.isBadRequestError = isBadRequestError;
|
|
88
109
|
/**
|
|
@@ -93,7 +114,6 @@ class BadRequestError extends Error {
|
|
|
93
114
|
message = message !== null && message !== void 0 ? message : 'Bad request';
|
|
94
115
|
super(message !== null && message !== void 0 ? message : 'Bad request');
|
|
95
116
|
this.statusCode = http_1.HttpStatusCode.BAD_REQUEST;
|
|
96
|
-
this.body = { message };
|
|
97
117
|
this.name = 'BadRequestError';
|
|
98
118
|
}
|
|
99
119
|
}
|
|
@@ -104,7 +124,11 @@ exports.BadRequestError = BadRequestError;
|
|
|
104
124
|
* @param e the parameter to check
|
|
105
125
|
*/
|
|
106
126
|
function isInternalServerError(e) {
|
|
107
|
-
return !!(e &&
|
|
127
|
+
return !!(e &&
|
|
128
|
+
e.stack &&
|
|
129
|
+
e.statusCode &&
|
|
130
|
+
e.message &&
|
|
131
|
+
e.name === 'InternalServerError');
|
|
108
132
|
}
|
|
109
133
|
exports.isInternalServerError = isInternalServerError;
|
|
110
134
|
/**
|
|
@@ -115,7 +139,6 @@ class InternalServerError extends Error {
|
|
|
115
139
|
message = message !== null && message !== void 0 ? message : 'Internal server error';
|
|
116
140
|
super(message);
|
|
117
141
|
this.statusCode = http_1.HttpStatusCode.INTERNAL_SERVER_ERROR;
|
|
118
|
-
this.body = { message };
|
|
119
142
|
this.name = 'InternalServerError';
|
|
120
143
|
}
|
|
121
144
|
}
|
|
@@ -126,7 +149,11 @@ exports.InternalServerError = InternalServerError;
|
|
|
126
149
|
* @param e the parameter to check
|
|
127
150
|
*/
|
|
128
151
|
function isConflictError(e) {
|
|
129
|
-
return !!(e &&
|
|
152
|
+
return !!(e &&
|
|
153
|
+
e.stack &&
|
|
154
|
+
e.statusCode &&
|
|
155
|
+
e.message &&
|
|
156
|
+
e.name === 'ConflictError');
|
|
130
157
|
}
|
|
131
158
|
exports.isConflictError = isConflictError;
|
|
132
159
|
/**
|
|
@@ -137,7 +164,6 @@ class ConflictError extends Error {
|
|
|
137
164
|
message = message !== null && message !== void 0 ? message : 'Conflict';
|
|
138
165
|
super(message);
|
|
139
166
|
this.statusCode = http_1.HttpStatusCode.CONFLICT;
|
|
140
|
-
this.body = { message };
|
|
141
167
|
this.name = 'ConflictError';
|
|
142
168
|
}
|
|
143
169
|
}
|
|
@@ -151,6 +177,7 @@ function isUnsupportedMediaTypeError(e) {
|
|
|
151
177
|
return !!(e &&
|
|
152
178
|
e.stack &&
|
|
153
179
|
e.statusCode &&
|
|
180
|
+
e.message &&
|
|
154
181
|
e.name === 'UnsupportedMediaTypeError');
|
|
155
182
|
}
|
|
156
183
|
exports.isUnsupportedMediaTypeError = isUnsupportedMediaTypeError;
|
|
@@ -162,7 +189,6 @@ class UnsupportedMediaTypeError extends Error {
|
|
|
162
189
|
message = message !== null && message !== void 0 ? message : 'Unsupported media type';
|
|
163
190
|
super(message);
|
|
164
191
|
this.statusCode = http_1.HttpStatusCode.UNSUPPORTED_MEDIA_TYPE;
|
|
165
|
-
this.body = { message };
|
|
166
192
|
this.name = 'UnsupportedMediaTypeError';
|
|
167
193
|
}
|
|
168
194
|
}
|
|
@@ -173,7 +199,11 @@ exports.UnsupportedMediaTypeError = UnsupportedMediaTypeError;
|
|
|
173
199
|
* @param e the parameter to check
|
|
174
200
|
*/
|
|
175
201
|
function isNotImplementedError(e) {
|
|
176
|
-
return !!(e &&
|
|
202
|
+
return !!(e &&
|
|
203
|
+
e.stack &&
|
|
204
|
+
e.statusCode &&
|
|
205
|
+
e.message &&
|
|
206
|
+
e.name === 'NotImplementedError');
|
|
177
207
|
}
|
|
178
208
|
exports.isNotImplementedError = isNotImplementedError;
|
|
179
209
|
/**
|
|
@@ -185,7 +215,6 @@ class NotImplementedError extends Error {
|
|
|
185
215
|
super(message);
|
|
186
216
|
this.statusCode = http_1.HttpStatusCode.NOT_IMPLEMENTED;
|
|
187
217
|
this.expose = true;
|
|
188
|
-
this.body = { message };
|
|
189
218
|
this.name = 'NotImplementedError';
|
|
190
219
|
}
|
|
191
220
|
}
|
package/errors/errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["errors.ts"],"names":[],"mappings":";;;AAAA,kCAAuC;
|
|
1
|
+
{"version":3,"file":"errors.js","s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