Skip to content

TypeScript API / laikacms/core/errors-extra / ErrorCodeToClassMap

Variable: ErrorCodeToClassMap ​

ts
const ErrorCodeToClassMap: object = allExportsFromErrorCodeToValue;

Type Declaration ​

authorizer_failure ​

ts
authorizer_failure: typeof AuthorizerFailureError;

bad_request ​

ts
bad_request: typeof BadRequestError;

conflict ​

ts
conflict: typeof ConflictError;

corrupted_file ​

ts
corrupted_file: typeof CorruptedFileError;

dangerous_file_type ​

ts
dangerous_file_type: typeof DangerousFileTypeError;

dir_instead_of_file ​

ts
dir_instead_of_file: typeof DirInsteadOfFile;

embedded_content ​

ts
embedded_content: typeof EmbeddedContentError;

entry_already_exists ​

ts
entry_already_exists: typeof EntryAlreadyExistsError;

file_instead_of_dir ​

ts
file_instead_of_dir: typeof FileInsteadOfDir;

file_too_large ​

ts
file_too_large: typeof FileTooLargeError;

forbidden ​

ts
forbidden: typeof ForbiddenError;

gateway_timeout ​

ts
gateway_timeout: typeof GatewayTimeoutError;

illegal_state ​

ts
illegal_state: typeof IllegalStateException;

internal_error ​

ts
internal_error: typeof InternalError;

invalid_data ​

ts
invalid_data: typeof InvalidData;

lock_conflict ​

ts
lock_conflict: typeof LockConflictError;

not_found ​

ts
not_found: typeof NotFoundError;

not_implemented ​

ts
not_implemented: typeof NotImplementedError;

permission_denied ​

ts
permission_denied: typeof PermissionDeniedError;

permission_prompt_required ​

ts
permission_prompt_required: typeof PermissionPromptRequiredError;

quota_exceeded ​

ts
quota_exceeded: typeof QuotaExceededError;

service_unavailable ​

ts
service_unavailable: typeof ServiceUnavailableError;

stale_handle ​

ts
stale_handle: typeof StaleHandleError;

too_many_requests ​

ts
too_many_requests: typeof TooManyRequestsError;

unauthenticated ​

ts
unauthenticated: typeof AuthenticationError;

unauthorized ​

ts
unauthorized: typeof UpstreamUnAuthorizedError;

unknown_error ​

ts
unknown_error: typeof UnknownError;

unsupported_file_type ​

ts
unsupported_file_type: typeof UnsupportedFileTypeError;

validation_error ​

ts
validation_error: typeof ValidationError;

version_mismatch ​

ts
version_mismatch: typeof VersionMismatchError;

Released under the MIT License.