Sanity App SDK
    Preparing search index...

    Interface ActionErrorEventBeta

    Event emitted when a precondition to applying an action fails. (For example: when trying to edit a document that no longer exists.)

    interface ActionErrorEvent {
        documentId: string;
        error: unknown;
        message: string;
        transactionId: string;
        type: "error";
    }
    Index

    Properties

    documentId: string
    error: unknown
    message: string
    transactionId: string
    type: "error"