Zum Hauptinhalt springen

Function: httpProviderError()

httpProviderError(status, context, bodyText?, params?): AppError

Defined in: provider-sdk/src/errors.ts:94

Build a normalized AppError for a non-2xx provider response.

Parameters​

status​

number

context​

string

bodyText?​

string = ''

params?​

Record<string, unknown> = {}

Returns​

AppError