@shadow-library/fastify 0.0.11 → 0.0.12
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/cjs/server.error.d.ts +2 -0
- package/cjs/server.error.js +2 -0
- package/esm/server.error.d.ts +2 -0
- package/esm/server.error.js +2 -0
- package/package.json +1 -1
package/cjs/server.error.d.ts
CHANGED
|
@@ -30,4 +30,6 @@ export declare class ServerErrorCode extends ErrorCode {
|
|
|
30
30
|
static readonly S008: ServerErrorCode;
|
|
31
31
|
/** The requested resource could not be found */
|
|
32
32
|
static readonly S009: ServerErrorCode;
|
|
33
|
+
/** Access blocked due to security policy restrictions */
|
|
34
|
+
static readonly S010: ServerErrorCode;
|
|
33
35
|
}
|
package/cjs/server.error.js
CHANGED
|
@@ -60,5 +60,7 @@ class ServerErrorCode extends common_1.ErrorCode {
|
|
|
60
60
|
static S008 = new ServerErrorCode('S008', common_1.ErrorType.CONFLICT, 'Resource conflict as the requested operation conflicts with existing data');
|
|
61
61
|
/** The requested resource could not be found */
|
|
62
62
|
static S009 = new ServerErrorCode('S009', common_1.ErrorType.NOT_FOUND, 'The requested resource could not be found');
|
|
63
|
+
/** Access blocked due to security policy restrictions */
|
|
64
|
+
static S010 = new ServerErrorCode('S010', common_1.ErrorType.UNAUTHORIZED, 'Access blocked due to security policy restrictions');
|
|
63
65
|
}
|
|
64
66
|
exports.ServerErrorCode = ServerErrorCode;
|
package/esm/server.error.d.ts
CHANGED
|
@@ -30,4 +30,6 @@ export declare class ServerErrorCode extends ErrorCode {
|
|
|
30
30
|
static readonly S008: ServerErrorCode;
|
|
31
31
|
/** The requested resource could not be found */
|
|
32
32
|
static readonly S009: ServerErrorCode;
|
|
33
|
+
/** Access blocked due to security policy restrictions */
|
|
34
|
+
static readonly S010: ServerErrorCode;
|
|
33
35
|
}
|
package/esm/server.error.js
CHANGED
|
@@ -56,4 +56,6 @@ export class ServerErrorCode extends ErrorCode {
|
|
|
56
56
|
static S008 = new ServerErrorCode('S008', ErrorType.CONFLICT, 'Resource conflict as the requested operation conflicts with existing data');
|
|
57
57
|
/** The requested resource could not be found */
|
|
58
58
|
static S009 = new ServerErrorCode('S009', ErrorType.NOT_FOUND, 'The requested resource could not be found');
|
|
59
|
+
/** Access blocked due to security policy restrictions */
|
|
60
|
+
static S010 = new ServerErrorCode('S010', ErrorType.UNAUTHORIZED, 'Access blocked due to security policy restrictions');
|
|
59
61
|
}
|
package/package.json
CHANGED