Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 720 Bytes

File metadata and controls

13 lines (8 loc) · 720 Bytes

Home > @snowplow/react-native-tracker > EmitterConfigurationBase > onRequestFailure

EmitterConfigurationBase.onRequestFailure property

A callback function to be executed whenever a request fails to be sent to the collector. This is the inverse of the onRequestSuccess callback, so any non 2xx status code will trigger this callback.

Signature:

onRequestFailure?: (data: RequestFailure, response?: Response) => void;