Type Alias ErrorType

ErrorType: {
    type: CheckoutErrorType;
    message?: string;
    data?: {
        [key: string]: string;
    };
}

Represents an error object with a specific type, optional message, and optional data.

Type declaration

  • type: CheckoutErrorType

    The type of the error.

  • Optionalmessage?: string

    The error message.

  • Optionaldata?: {
        [key: string]: string;
    }

    Additional data associated with the error.

    • [key: string]: string