Skip to content

TypeScript API / laikacms/core/errors / errorCode

Variable: errorCode ​

ts
const errorCode: object;

Type Declaration ​

AUTHENTICATION_ERROR ​

ts
readonly AUTHENTICATION_ERROR: "unauthenticated" = 'unauthenticated';

AUTHORIZER_FAILURE ​

ts
readonly AUTHORIZER_FAILURE: "authorizer_failure" = 'authorizer_failure';

BAD_REQUEST ​

ts
readonly BAD_REQUEST: "bad_request" = 'bad_request';

CONFLICT ​

ts
readonly CONFLICT: "conflict" = 'conflict';

CORRUPTED_FILE ​

ts
readonly CORRUPTED_FILE: "corrupted_file" = 'corrupted_file';

DANGEROUS_FILE_TYPE ​

ts
readonly DANGEROUS_FILE_TYPE: "dangerous_file_type" = 'dangerous_file_type';

DIR_INSTEAD_OF_FILE ​

ts
readonly DIR_INSTEAD_OF_FILE: "dir_instead_of_file" = 'dir_instead_of_file';

EMBEDDED_CONTENT ​

ts
readonly EMBEDDED_CONTENT: "embedded_content" = 'embedded_content';

ENTRY_ALREADY_EXISTS ​

ts
readonly ENTRY_ALREADY_EXISTS: "entry_already_exists" = 'entry_already_exists';

FILE_INSTEAD_OF_DIR ​

ts
readonly FILE_INSTEAD_OF_DIR: "file_instead_of_dir" = 'file_instead_of_dir';

FILE_TOO_LARGE ​

ts
readonly FILE_TOO_LARGE: "file_too_large" = 'file_too_large';

FORBIDDEN ​

ts
readonly FORBIDDEN: "forbidden" = 'forbidden';

GATEWAY_TIMEOUT ​

ts
readonly GATEWAY_TIMEOUT: "gateway_timeout" = 'gateway_timeout';

ILLEGAL_STATE ​

ts
readonly ILLEGAL_STATE: "illegal_state" = 'illegal_state';

INTERNAL_ERROR ​

ts
readonly INTERNAL_ERROR: "internal_error" = 'internal_error';

INVALID_DATA ​

ts
readonly INVALID_DATA: "invalid_data" = 'invalid_data';

LOCK_CONFLICT ​

ts
readonly LOCK_CONFLICT: "lock_conflict" = 'lock_conflict';

NOT_FOUND ​

ts
readonly NOT_FOUND: "not_found" = 'not_found';

NOT_IMPLEMENTED ​

ts
readonly NOT_IMPLEMENTED: "not_implemented" = 'not_implemented';

PERMISSION_DENIED ​

ts
readonly PERMISSION_DENIED: "permission_denied" = 'permission_denied';

PERMISSION_PROMPT_REQUIRED ​

ts
readonly PERMISSION_PROMPT_REQUIRED: "permission_prompt_required" = 'permission_prompt_required';

QUOTA_EXCEEDED ​

ts
readonly QUOTA_EXCEEDED: "quota_exceeded" = 'quota_exceeded';

SERVICE_UNAVAILABLE ​

ts
readonly SERVICE_UNAVAILABLE: "service_unavailable" = 'service_unavailable';

STALE_HANDLE ​

ts
readonly STALE_HANDLE: "stale_handle" = 'stale_handle';

TOO_MANY_REQUESTS ​

ts
readonly TOO_MANY_REQUESTS: "too_many_requests" = 'too_many_requests';

UNKNOWN_ERROR ​

ts
readonly UNKNOWN_ERROR: "unknown_error" = 'unknown_error';

UNSUPPORTED_FILE_TYPE ​

ts
readonly UNSUPPORTED_FILE_TYPE: "unsupported_file_type" = 'unsupported_file_type';

UPSTREAM_UNAUTHORIZED ​

ts
readonly UPSTREAM_UNAUTHORIZED: "unauthorized" = 'unauthorized';

VALIDATION_ERROR ​

ts
readonly VALIDATION_ERROR: "validation_error" = 'validation_error';

VERSIONING_MISMATCH ​

ts
readonly VERSIONING_MISMATCH: "version_mismatch" = 'version_mismatch';

Released under the MIT License.