ErrorHandler
ErrorHandler
Stable Class
What it does
Provides a hook for centralized exception handling.
Class Overview
class ErrorHandler { constructor(rethrowError?: boolean) handleError(error: any) : void }
Class Description
The default implementation of ErrorHandler
prints error messages to the console
. To intercept error handling, write a custom exception handler that replaces this default as appropriate for your app.
Example
登录查看完整内容