Interface ErrorResponseMisdirected

Shared fields between all error response variants.

Hierarchy

Properties

Properties

message: string

A brief explanation of the error.

null: {
    info: string;
}

Type declaration

  • info: string

    Extra information about what went wrong.

status: number

The HTTP status of the error.

type: "MISDIRECTED"

The error when a server isn't able to reduce a response even though the client's request isn't explicitly wrong. This usually happens when an instance isn't configured to provide a response.


Example

{
"type": "MISDIRECTED",
"status": 421,
"message": "Misdirected request",
"info": "The instance isn't configured to deal with unbased individuals"
}