Sanity Library Reference Docs
    Preparing search index...

    Type Alias ErrorCodeBeta

    ErrorCode: Context.components["schemas"]["ApiErrorBody"]["code"]

    A Context API error code, from the code of an error response. Branch on it rather than on message, which can change.