UNPKG

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