Skip to main content

Class: InternalProxyHttpException

server-http-client/src.InternalProxyHttpException

This is a proxy http exception that may occur when the call to internal service fails. in such case we need to return to client whatever the internal service returned to us. Field names here matches the need of axios retry library

Constructors

new InternalProxyHttpException(status, response, config, rootCause)

new InternalProxyHttpException(status, response, config?, rootCause?): InternalProxyHttpException

Parameters

status: HttpStatus

response: AxiosResponse<any, any>

config?: object

rootCause?: unknown

Returns

InternalProxyHttpException

Source

libs/server-http-client/src/lib/exceptions/internal-proxy-http.exception.ts:10

Properties

config

config?: object

Source

libs/server-http-client/src/lib/exceptions/internal-proxy-http.exception.ts:14


response

response: AxiosResponse<any, any>

Source

libs/server-http-client/src/lib/exceptions/internal-proxy-http.exception.ts:13


rootCause

rootCause?: unknown

Source

libs/server-http-client/src/lib/exceptions/internal-proxy-http.exception.ts:15


status

status: HttpStatus

Source

libs/server-http-client/src/lib/exceptions/internal-proxy-http.exception.ts:11


Generated using typedoc-plugin-markdown and TypeDoc