UNPKG

1.28 kBJavaScriptView Raw
1export var AuthErrorStrings;
2(function (AuthErrorStrings) {
3 AuthErrorStrings["DEFAULT_MSG"] = "Authentication Error";
4 AuthErrorStrings["EMPTY_EMAIL"] = "Email cannot be empty";
5 AuthErrorStrings["EMPTY_PHONE"] = "Phone number cannot be empty";
6 AuthErrorStrings["EMPTY_USERNAME"] = "Username cannot be empty";
7 AuthErrorStrings["INVALID_USERNAME"] = "The username should either be a string or one of the sign in types";
8 AuthErrorStrings["EMPTY_PASSWORD"] = "Password cannot be empty";
9 AuthErrorStrings["EMPTY_CODE"] = "Confirmation code cannot be empty";
10 AuthErrorStrings["SIGN_UP_ERROR"] = "Error creating account";
11 AuthErrorStrings["NO_MFA"] = "No valid MFA method provided";
12 AuthErrorStrings["INVALID_MFA"] = "Invalid MFA type";
13 AuthErrorStrings["EMPTY_CHALLENGE"] = "Challenge response cannot be empty";
14 AuthErrorStrings["NO_USER_SESSION"] = "Failed to get the session because the user is empty";
15 AuthErrorStrings["NETWORK_ERROR"] = "Network Error";
16 AuthErrorStrings["DEVICE_CONFIG"] = "Device tracking has not been configured in this User Pool";
17 AuthErrorStrings["AUTOSIGNIN_ERROR"] = "Please use your credentials to sign in";
18})(AuthErrorStrings || (AuthErrorStrings = {}));
19//# sourceMappingURL=AuthErrorStrings.js.map
\No newline at end of file