Parameters
Callback Parameters
Code Example
Basic Error Handling
Error Logging Service
Page-Level Error Handling
Use Cases
Error Monitoring
Error Monitoring
Development Debugging
Development Debugging
Error Recovery
Error Recovery
The
my.onError callback triggers at the same time as the onError() method in app registration, with the same parameters.Related APIs
my.offError
Stop listening for error events
my.onUnhandledRejection
Listen for unhandled Promise rejections