Skip to main content

Class: ConflictEntityCreationException

exceptions/src.ConflictEntityCreationException

Extends

Constructors

new ConflictEntityCreationException(entityName, fieldName, fieldValue, errorCode, rootCause)

new ConflictEntityCreationException(entityName, fieldName, fieldValue, errorCode?, rootCause?): ConflictEntityCreationException

Parameters

entityName: string

fieldName: string

fieldValue: unknown

errorCode?: string

rootCause?: unknown

Returns

ConflictEntityCreationException

Overrides

AbstractHttpException.constructor

Source

libs/exceptions/src/lib/exceptions/conflict-entity-creation.exception.ts:7

Properties

data

data?: ConflictEntityCreationData | ConflictEntityCreationData[]

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


entityName

readonly entityName: string

Source

libs/exceptions/src/lib/exceptions/conflict-entity-creation.exception.ts:8


errorCode

errorCode?: string

Inherited from

AbstractHttpException.errorCode

Source

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


fieldName

readonly fieldName: string

Source

libs/exceptions/src/lib/exceptions/conflict-entity-creation.exception.ts:9


fieldValue

readonly fieldValue: unknown

Source

libs/exceptions/src/lib/exceptions/conflict-entity-creation.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