A machine-readable format for specifying errors in HTTP API responses based on https://tools.ietf.org/html/rfc7807.

Implements

Indexable

  • [key: string]: any

Constructors

Properties

detail?: string

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

errorCode?: number

The error code.

errorSource?: string

The error source.

extensions: any
instance?: string

A URI reference that identifies the specific occurrence of the problem.

instanceDetail?: string

The instance detail.

operationId?: string

The operation id.

status: number

The HTTP status code.

title?: string

A short, human-readable summary of the problem type.

traceId?: string

The trace id.

type?: string

The problem type.

Methods