-
Notifications
You must be signed in to change notification settings - Fork 453
Expand file tree
/
Copy patherror.ts
More file actions
33 lines (25 loc) · 1.15 KB
/
error.ts
File metadata and controls
33 lines (25 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
export { errorToJSON, parseError, parseErrors } from './errors/parseError';
export { ClerkAPIError, isClerkAPIError } from './errors/clerkApiError';
export { ClerkAPIResponseError, isClerkAPIResponseError } from './errors/clerkApiResponseError';
export { ClerkError, isClerkError } from './errors/clerkError';
export { MissingExpiredTokenError } from './errors/missingExpiredTokenError';
export { buildErrorThrower, type ErrorThrower, type ErrorThrowerOptions } from './errors/errorThrower';
export { EmailLinkError, EmailLinkErrorCode, EmailLinkErrorCodeStatus } from './errors/emailLinkError';
export type { MetamaskError } from './errors/metamaskError';
export { ClerkRuntimeError, isClerkRuntimeError } from './errors/clerkRuntimeError';
export { ClerkWebAuthnError } from './errors/webAuthNError';
export {
is4xxError,
isCaptchaError,
isEmailLinkError,
isKnownError,
isMetamaskError,
isNetworkError,
isPasswordPwnedError,
isPasswordCompromisedError,
isPasswordTooLongError,
isReverificationCancelledError,
isUnauthorizedError,
isUserLockedError,
} from './errors/helpers';
export { createClerkGlobalHookError } from './errors/globalHookError';