Type Alias Error

An error object.

type Error = {
    code: string;
    message?: string;
    status?: number;
    title: string;
}
Index

Properties

code: string

The error code.

message?: string

A human-readable explanation specific to this occurrence of the problem.

status?: number

The HTTP status code.

title: string

Summary of the problem.