Documentation
    Preparing search index...

    Variable ErrorMessagesConst

    ErrorMessages: {
        ADMIN_CAP_NOT_SET: "Admin capability not configured";
        BALANCE_MANAGER_NOT_FOUND: (key: string) => string;
        COIN_NOT_FOUND: (key: string) => string;
        INVALID_ADDRESS: "Address must be a valid Sui address";
        INVALID_ARGUMENT: (arg: string, type: string) => string;
        INVALID_ARGUMENT_COUNT: (expected: number, got: number) => string;
        MARGIN_ADMIN_CAP_NOT_SET: "Margin admin capability not configured";
        MARGIN_MAINTAINER_CAP_NOT_SET: "Margin maintainer capability not configured";
        MARGIN_MANAGER_NOT_FOUND: (key: string) => string;
        MARGIN_POOL_NOT_FOUND: (key: string) => string;
        PARAMETER_REQUIRED: (name: string) => string;
        POOL_NOT_FOUND: (key: string) => string;
        PRICE_INFO_NOT_FOUND: (coinKey: string) => string;
    } = ...

    Type Declaration

    • ReadonlyADMIN_CAP_NOT_SET: "Admin capability not configured"
    • ReadonlyBALANCE_MANAGER_NOT_FOUND: (key: string) => string
    • ReadonlyCOIN_NOT_FOUND: (key: string) => string
    • ReadonlyINVALID_ADDRESS: "Address must be a valid Sui address"
    • ReadonlyINVALID_ARGUMENT: (arg: string, type: string) => string
    • ReadonlyINVALID_ARGUMENT_COUNT: (expected: number, got: number) => string
    • ReadonlyMARGIN_ADMIN_CAP_NOT_SET: "Margin admin capability not configured"
    • ReadonlyMARGIN_MAINTAINER_CAP_NOT_SET: "Margin maintainer capability not configured"
    • ReadonlyMARGIN_MANAGER_NOT_FOUND: (key: string) => string
    • ReadonlyMARGIN_POOL_NOT_FOUND: (key: string) => string
    • ReadonlyPARAMETER_REQUIRED: (name: string) => string
    • ReadonlyPOOL_NOT_FOUND: (key: string) => string
    • ReadonlyPRICE_INFO_NOT_FOUND: (coinKey: string) => string

    Standard error messages