Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Stop listening for JavaScript error events.
my.onError()
App({ onLaunch() { my.onError(this.errorHandler); }, errorHandler(error) { console.error('Error:', error); }, // Call this to remove the listener removeErrorListener() { my.offError(this.errorHandler); } });
// Remove all error listeners my.offError();
Page({ onShow() { my.onError(this.handleError); }, onHide() { // Clean up when page is hidden my.offError(this.handleError); }, handleError(error) { console.error('Page error:', error); } });
my.offError()