Type that represents an error when storing data in a cell

interface StorageError {
    message: string;
    statusCode?: number;
    type: "StorageError";
}

Properties

message: string

End user message describing the problem

statusCode?: number

HTTP style status code

Describes the type of problem encountered. Expected to be a 4XX or 5XX code.

type: "StorageError"

Discriminated union tag