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

Implements

  • IProblemDetails

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

A property that may contain additional info such as in the case of partial success responses.

instance?: string

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

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