Skip to main content

Class: ErrorResponse<ADDITIONAL_DATA>

exceptions/src.ErrorResponse

Description​

The error response following rfc7807

https://www.rfc-editor.org/rfc/rfc7807

Type parameters​

▪ ADDITIONAL_DATA extends object = object

Constructors​

new ErrorResponse()​

new ErrorResponse<ADDITIONAL_DATA>(): ErrorResponse<ADDITIONAL_DATA>

Returns​

ErrorResponse<ADDITIONAL_DATA>

Properties​

data​

data?: ADDITIONAL_DATA | ADDITIONAL_DATA[]

Source​

libs/exceptions/src/lib/vo/error-response.dto.ts:34


detail​

detail: string

Source​

libs/exceptions/src/lib/vo/error-response.dto.ts:28


errorCode​

errorCode?: string

Source​

libs/exceptions/src/lib/vo/error-response.dto.ts:46


instance​

instance: string

Source​

libs/exceptions/src/lib/vo/error-response.dto.ts:40


status​

status: number

Source​

libs/exceptions/src/lib/vo/error-response.dto.ts:22


title​

title: string

Source​

libs/exceptions/src/lib/vo/error-response.dto.ts:17


type​

type: string

Source​

libs/exceptions/src/lib/vo/error-response.dto.ts:12


Generated using typedoc-plugin-markdown and TypeDoc