near-api-js - v7.0.4
    Preparing search index...

    Type Alias ActionErrorKind

    ActionErrorKind:
        | { AccountAlreadyExists: { account_id: AccountId } }
        | { AccountDoesNotExist: { account_id: AccountId } }
        | {
            CreateAccountOnlyByRegistrar: {
                account_id: AccountId;
                predecessor_id: AccountId;
                registrar_account_id: AccountId;
            };
        }
        | {
            CreateAccountNotAllowed: {
                account_id: AccountId;
                predecessor_id: AccountId;
            };
        }
        | { ActorNoPermission: { account_id: AccountId; actor_id: AccountId } }
        | {
            DeleteKeyDoesNotExist: { account_id: AccountId; public_key: PublicKey };
        }
        | { AddKeyAlreadyExists: { account_id: AccountId; public_key: PublicKey } }
        | { DeleteAccountStaking: { account_id: AccountId } }
        | { LackBalanceForState: { account_id: AccountId; amount: NearToken } }
        | { TriesToUnstake: { account_id: AccountId } }
        | {
            TriesToStake: {
                account_id: AccountId;
                balance: NearToken;
                locked: NearToken;
                stake: NearToken;
            };
        }
        | {
            InsufficientStake: {
                account_id: AccountId;
                minimum_stake: NearToken;
                stake: NearToken;
            };
        }
        | { FunctionCallError: FunctionCallError }
        | { NewReceiptValidationError: ReceiptValidationError }
        | { OnlyImplicitAccountCreationAllowed: { account_id: AccountId } }
        | { DeleteAccountWithLargeState: { account_id: AccountId } }
        | "DelegateActionInvalidSignature"
        | {
            DelegateActionSenderDoesNotMatchTxReceiver: {
                receiver_id: AccountId;
                sender_id: AccountId;
            };
        }
        | "DelegateActionExpired"
        | { DelegateActionAccessKeyError: InvalidAccessKeyError }
        | {
            DelegateActionInvalidNonce: {
                ak_nonce: number;
                delegate_nonce: number;
            };
        }
        | {
            DelegateActionNonceTooLarge: {
                delegate_nonce: number;
                upper_bound: number;
            };
        }
        | { GlobalContractDoesNotExist: { identifier: GlobalContractIdentifier } }
        | { GasKeyDoesNotExist: { account_id: AccountId; public_key: PublicKey } }
        | { GasKeyAlreadyExists: { account_id: AccountId; public_key: PublicKey } }