Skip to main content

Class: GeneralNotFoundException

exceptions/src.GeneralNotFoundException

Extends

Constructors

new GeneralNotFoundException(errorCode, rootCause)

new GeneralNotFoundException(errorCode?, rootCause?): GeneralNotFoundException

Parameters

errorCode?: string

rootCause?: unknown

Returns

GeneralNotFoundException

Overrides

AbstractHttpException.constructor

Source

libs/exceptions/src/lib/exceptions/general-not-found.exception.ts:6

Properties

data

data?: object | object[]

Inherited from

AbstractHttpException.data

Source

libs/exceptions/src/lib/exceptions/abstract-http.exception.ts:9


detail

detail: string

Inherited from

AbstractHttpException.detail

Source

libs/exceptions/src/lib/exceptions/abstract-http.exception.ts:7


errorCode

errorCode?: string

Inherited from

AbstractHttpException.errorCode

Source

libs/exceptions/src/lib/exceptions/abstract-http.exception.ts:10


rootCause

rootCause?: unknown

Inherited from

AbstractHttpException.rootCause

Source

libs/exceptions/src/lib/exceptions/abstract-http.exception.ts:11


status

status: number

Inherited from

AbstractHttpException.status

Source

libs/exceptions/src/lib/exceptions/abstract-http.exception.ts:8


title

title: string

Inherited from

AbstractHttpException.title

Source

libs/exceptions/src/lib/exceptions/abstract-http.exception.ts:6

Methods

getPresetHeadersValues

getPresetHeadersValues(): Record<string, string>

Returns

Record<string, string>

Inherited from

AbstractHttpException.getPresetHeadersValues

Source

libs/exceptions/src/lib/exceptions/abstract-http.exception.ts:34


toErrorResponse

toErrorResponse(requestId, i18nService?): ErrorResponse<object>

Parameters

requestId: string

i18nService?: I18nContext<Record<string, unknown>> | I18nService<Record<string, unknown>>

Returns

ErrorResponse<object>

Inherited from

AbstractHttpException.toErrorResponse

Source

libs/exceptions/src/lib/exceptions/abstract-http.exception.ts:14


Generated using typedoc-plugin-markdown and TypeDoc