Solid Accord
    Preparing search index...

    Interface SaveButtonFailure

    A failure, as the client reports it: what kind it was, its details, and an English message for logs.

    interface SaveButtonFailure {
        code: SaveButtonFailureCode | string & {};
        message: string;
        params: SaveButtonFailureParams;
        status: "failed";
    }
    Index
    code: SaveButtonFailureCode | string & {}

    What kind of failure it was, which decides what the button says. It can be a code the button doesn't know, from a newer client, which it describes in general terms: a new kind of failure in the client isn't a breaking change here.

    message: string

    The client's own description, in English, for developers. The button never says it: it's for logs.

    The details that go with code.

    status: "failed"