@junobuild/errors
Version:
A collection of predefined error constants and utilities for Juno applications.
22 lines (21 loc) • 2.12 kB
TypeScript
export declare const JUNO_ERROR_NO_TIMESTAMP_PROVIDED = "juno.error.no_timestamp_provided";
export declare const JUNO_ERROR_TIMESTAMP_OUTDATED_OR_FUTURE = "juno.error.timestamp_outdated_or_future";
export declare const JUNO_ERROR_NO_VERSION_PROVIDED = "juno.error.no_version_provided";
export declare const JUNO_ERROR_VERSION_OUTDATED_OR_FUTURE = "juno.error.version_outdated_or_future";
export declare const JUNO_DATASTORE_ERROR_CANNOT_WRITE = "juno.datastore.error.cannot_write";
export declare const JUNO_DATASTORE_ERROR_CANNOT_READ = "juno.datastore.error.cannot_read";
export declare const JUNO_STORAGE_ERROR_UPLOAD_NOT_ALLOWED = "juno.storage.error.upload_not_allowed";
export declare const JUNO_STORAGE_ERROR_SET_NOT_ALLOWED = "juno.storage.error.set_not_allowed";
export declare const JUNO_STORAGE_ERROR_CANNOT_COMMIT_BATCH = "juno.storage.error.cannot_commit_batch";
export declare const JUNO_STORAGE_ERROR_ASSET_NOT_FOUND = "juno.storage.error.asset_not_found";
export declare const JUNO_STORAGE_ERROR_CANNOT_READ_ASSET = "juno.storage.error.cannot_read_asset";
export declare const JUNO_AUTH_ERROR_NOT_ADMIN_CONTROLLER = "juno.auth.error.not_admin_controller";
export declare const JUNO_AUTH_ERROR_INVALID_ORIGIN = "juno.auth.error.invalid_origin";
export declare const JUNO_AUTH_ERROR_NOT_CONTROLLER = "juno.auth.error.not_controller";
export declare const JUNO_DATASTORE_ERROR_USER_CANNOT_UPDATE = "juno.datastore.error.user.cannot_update";
export declare const JUNO_DATASTORE_ERROR_USER_INVALID_DATA = "juno.datastore.error.user.invalid_data";
export declare const JUNO_DATASTORE_ERROR_USER_CALLER_KEY = "juno.datastore.error.user.caller_key";
export declare const JUNO_DATASTORE_ERROR_USER_KEY_NO_PRINCIPAL = "juno.datastore.error.user.key_no_principal";
export declare const JUNO_DATASTORE_ERROR_USER_NOT_ALLOWED = "juno.datastore.error.user.not_allowed";
export declare const JUNO_DATASTORE_ERROR_USER_USAGE_CHANGE_LIMIT_REACHED = "juno.datastore.error.user.usage.change_limit_reached";
export declare const JUNO_DATASTORE_ERROR_USER_USAGE_INVALID_DATA = "juno.datastore.error.user.usage.invalid_data";