Class: InternalServiceUnavailableHttpException
exceptions/src.InternalServiceUnavailableHttpException
This is a service unavailable exception that may occur when the call to internal service fails for a long time or just down
Extends
Constructors
new InternalServiceUnavailableHttpException(externalServiceIdentifier, errorCode, rootCause)
new InternalServiceUnavailableHttpException(
externalServiceIdentifier?,errorCode?,rootCause?):InternalServiceUnavailableHttpException
Parameters
▪ externalServiceIdentifier?: string
▪ errorCode?: string
▪ rootCause?: unknown
Returns
InternalServiceUnavailableHttpException
Overrides
AbstractHttpException.constructor
Source
libs/exceptions/src/lib/exceptions/internal-service-unavailable.exception.ts:10
Properties
data
data?:
object|object[]
Inherited from
Source
libs/exceptions/src/lib/exceptions/abstract-http.exception.ts:9
detail
detail:
string
Inherited from
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
Source
libs/exceptions/src/lib/exceptions/abstract-http.exception.ts:8
title
title:
string
Inherited from
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