Files
sentinel/static/app/constants/superuserAccessErrors.tsx
2024-02-15 17:01:50 +00:00

11 lines
572 B
TypeScript

// TODO(epurkhiser): These can't be translated with `t()` because they're an
// Enum. We should probably just use a regular map
export enum ErrorCodes {
INVALID_PASSWORD = 'Incorrect password',
INVALID_SSO_SESSION = 'Your SSO Session has expired, please reauthenticate',
INVALID_ACCESS_CATEGORY = 'Please fill out the access category and reason correctly',
MISSING_PASSWORD_OR_U2F = 'Password or U2F challenge/response was not sent',
NO_AUTHENTICATOR = 'Please add a U2F authenticator to your account',
UNKNOWN_ERROR = 'An error occurred, please try again',
}