Class: AbstractHttpException<ADDITIONAL_DATA
>
exceptions/src.AbstractHttpException
Extended By
ConflictEntityCreationException
GeneralForbiddenException
GeneralInternalServerException
GeneralNotFoundException
GeneralUnauthorizedException
InternalServiceUnavailableHttpException
MissingConfigurationForFeatureException
ObjectNotFoundException
OptimisticLockException
Type parameters
▪ ADDITIONAL_DATA extends object
= object
Constructors
new AbstractHttpException(title, detail, status, data, errorCode, rootCause)
new AbstractHttpException<
ADDITIONAL_DATA
>(title
,detail
,status
,data
?,errorCode
?,rootCause
?):AbstractHttpException
<ADDITIONAL_DATA
>
Parameters
▪ title: string
▪ detail: string
▪ status: number
▪ data?: ADDITIONAL_DATA
| ADDITIONAL_DATA
[]
▪ errorCode?: string
▪ rootCause?: unknown
Returns
AbstractHttpException
<ADDITIONAL_DATA
>
Source
libs/exceptions/src/lib/exceptions/abstract-http.exception.ts:5
Properties
data
data?:
ADDITIONAL_DATA
|ADDITIONAL_DATA
[]
Source
libs/exceptions/src/lib/exceptions/abstract-http.exception.ts:9
detail
detail:
string
Source
libs/exceptions/src/lib/exceptions/abstract-http.exception.ts:7
errorCode
errorCode?:
string
Source
libs/exceptions/src/lib/exceptions/abstract-http.exception.ts:10
rootCause
rootCause?:
unknown
Source
libs/exceptions/src/lib/exceptions/abstract-http.exception.ts:11
status
status:
number
Source
libs/exceptions/src/lib/exceptions/abstract-http.exception.ts:8
title
title:
string