The Candid Startup
    Preparing search index...

    Type that represents an error when accessing data in persistent storage

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

    Hierarchy (View Summary)

    Index

    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