Skip to content

Latest commit

 

History

History
83 lines (46 loc) · 1.3 KB

File metadata and controls

83 lines (46 loc) · 1.3 KB

Back to README.md

@openmrs/esm-error-handling

Table of contents

Functions

Functions

createErrorHandler

createErrorHandler(): (incomingErr: any) => void

Returns

fn

▸ (incomingErr): void

Parameters
Name Type
incomingErr any
Returns

void

Defined in

index.ts:31


handleApiError

handleApiError(): (incomingResponseErr: any) => void

Returns

fn

▸ (incomingResponseErr): void

Parameters
Name Type
incomingResponseErr any
Returns

void

Defined in

index.ts:3


reportError

reportError(err): void

Parameters

Name Type
err any

Returns

void

Defined in

index.ts:24