@junobuild/errors
Version:
A collection of predefined error constants and utilities for Juno applications.
19 lines (18 loc) • 1.75 kB
TypeScript
export declare const JUNO_ERROR_CONTROLLERS_MAX_NUMBER = "juno.error.controllers.max_number";
export declare const JUNO_ERROR_CONTROLLERS_ANONYMOUS_NOT_ALLOWED = "juno.error.controllers.anonymous_not_allowed";
export declare const JUNO_ERROR_CONTROLLERS_REVOKED_NOT_ALLOWED = "juno.error.controllers.revoked_not_allowed";
export declare const JUNO_ERROR_MEMORY_STABLE_EXCEEDED = "juno.error.memory.stable_exceeded";
export declare const JUNO_ERROR_MEMORY_HEAP_EXCEEDED = "juno.error.memory.heap_exceeded";
export declare const JUNO_ERROR_CYCLES_DEPOSIT_BALANCE_LOW = "juno.error.cycles.deposit_balance_low";
export declare const JUNO_ERROR_CYCLES_DEPOSIT_FAILED = "juno.error.cycles.deposit_failed";
export declare const JUNO_ERROR_CANISTER_CREATE_FAILED = "juno.error.canister.create_failed";
export declare const JUNO_ERROR_CANISTER_INSTALL_CODE_FAILED = "juno.error.canister.install_code_failed";
export declare const JUNO_ERROR_SEGMENT_STOP_FAILED = "juno.error.segment.stop_failed";
export declare const JUNO_ERROR_SEGMENT_DELETE_FAILED = "juno.error.segment.delete_failed";
export declare const JUNO_ERROR_CMC_CALL_LEDGER_FAILED = "juno.error.cmc.call_ledger_failed";
export declare const JUNO_ERROR_CMC_LEDGER_TRANSFER_FAILED = "juno.error.cmc.ledger_transfer_failed";
export declare const JUNO_ERROR_CMC_TOP_UP_FAILED = "juno.error.cmc.top_up_failed";
export declare const JUNO_ERROR_CMC_CALL_CREATE_CANISTER_FAILED = "juno.error.cmc.call_create_canister_failed";
export declare const JUNO_ERROR_CMC_CREATE_CANISTER_FAILED = "juno.error.cmc.create_canister_failed";
export declare const JUNO_ERROR_CMC_INSTALL_CODE_FAILED = "juno.error.cmc.install_code_failed";
export declare const JUNO_ERROR_INVALID_REGEX = "juno.error.invalid_regex";