Skip to content

handleErrorResponse

handleErrorResponse(e, currentSession, ctx, cookie): Response

Handle error response

Parameters

e: unknown

Error object

currentSession: null | OIDCClientSession

Session data

ctx: OidcClient

OIDCClient Instance

cookie: Record<string, Cookie<undefined | string>>

Cookie

Returns

Response

Response

Defined in

src/utils/handleErrorResponse.ts:14