Function defaultErrorHandler
- defaultErrorHandler(): {
hide: (() => void);
show: ((ex: string | Error | Event) => void);
} Returns {
hide: (() => void);
show: ((ex: string | Error | Event) => void);
}
hide: (() => void)
show: ((ex: string | Error | Event) => void)
- (ex): void
Parameters
- ex: string | Error | Event
Returns void
Creates an error handler to show errors on-screen. This is useful when testing on mobile devices that lack access to the console.
Manual control: