@taico/errors 0.0.3 → 0.1.0
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/dist/error-codes.d.ts +7 -0
- package/dist/error-codes.js +8 -0
- package/package.json +2 -2
package/dist/error-codes.d.ts
CHANGED
|
@@ -61,6 +61,13 @@ export declare const ErrorCodes: {
|
|
|
61
61
|
readonly SECRET_NOT_FOUND: "SECRET_NOT_FOUND";
|
|
62
62
|
readonly SECRET_NAME_CONFLICT: "SECRET_NAME_CONFLICT";
|
|
63
63
|
readonly SECRET_FEATURE_DISABLED: "SECRET_FEATURE_DISABLED";
|
|
64
|
+
readonly USER_NOT_FOUND: "USER_NOT_FOUND";
|
|
65
|
+
readonly USER_EMAIL_CONFLICT: "USER_EMAIL_CONFLICT";
|
|
66
|
+
readonly USER_SLUG_CONFLICT: "USER_SLUG_CONFLICT";
|
|
67
|
+
readonly PASSWORD_TOO_SHORT: "PASSWORD_TOO_SHORT";
|
|
68
|
+
readonly ONBOARDING_NOT_ALLOWED: "ONBOARDING_NOT_ALLOWED";
|
|
69
|
+
readonly INVALID_CREDENTIALS: "INVALID_CREDENTIALS";
|
|
70
|
+
readonly INVALID_CURRENT_PASSWORD: "INVALID_CURRENT_PASSWORD";
|
|
64
71
|
readonly VALIDATION_FAILED: "VALIDATION_FAILED";
|
|
65
72
|
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
66
73
|
};
|
package/dist/error-codes.js
CHANGED
|
@@ -72,6 +72,14 @@ export const ErrorCodes = {
|
|
|
72
72
|
SECRET_NOT_FOUND: 'SECRET_NOT_FOUND',
|
|
73
73
|
SECRET_NAME_CONFLICT: 'SECRET_NAME_CONFLICT',
|
|
74
74
|
SECRET_FEATURE_DISABLED: 'SECRET_FEATURE_DISABLED',
|
|
75
|
+
// Identity Provider errors
|
|
76
|
+
USER_NOT_FOUND: 'USER_NOT_FOUND',
|
|
77
|
+
USER_EMAIL_CONFLICT: 'USER_EMAIL_CONFLICT',
|
|
78
|
+
USER_SLUG_CONFLICT: 'USER_SLUG_CONFLICT',
|
|
79
|
+
PASSWORD_TOO_SHORT: 'PASSWORD_TOO_SHORT',
|
|
80
|
+
ONBOARDING_NOT_ALLOWED: 'ONBOARDING_NOT_ALLOWED',
|
|
81
|
+
INVALID_CREDENTIALS: 'INVALID_CREDENTIALS',
|
|
82
|
+
INVALID_CURRENT_PASSWORD: 'INVALID_CURRENT_PASSWORD',
|
|
75
83
|
// Generic errors
|
|
76
84
|
VALIDATION_FAILED: 'VALIDATION_FAILED',
|
|
77
85
|
INTERNAL_ERROR: 'INTERNAL_ERROR',
|