Interface ErrorResponseNotFound

Shared fields between all error response variants.

Hierarchy

Properties

Properties

message: string

A brief explanation of the error.

null: {}

Type declaration

    status: number

    The HTTP status of the error.

    type: "NOT_FOUND"

    The error when a client requests a resource that does not exist.


    Example

    {
    "type": "NOT_FOUND",
    "status": 404,
    "message": "The requested resource could not be found"
    }