Provides a hook for centralized exception handling.
class ErrorHandler { handleError(error: any): void;}