Interface Server

The error when the server fails to process a request.

Getting this error means that it's the server's fault and not the client that the request failed.


Example

{
"type": "SERVER",
"status": 500,
"message": "Server encountered an unexpected error",
"info": "Server got stabbed 28 times"
}

Hierarchy

Properties

Properties

info: string

Extra information about what went wrong.

message: string

A brief explanation of the error.

status: number

The HTTP status of the error.

type: "SERVER"