defaultErrorHandler top-level property

ErrorCallback get defaultErrorHandler

Returns the current system error handler.

Implementation

ErrorCallback get defaultErrorHandler =>
    _defaultErrorHandler ?? _standardErrorHandler;
set defaultErrorHandler (ErrorCallback? errorHandler)

Sets the default error handler.

Implementation

set defaultErrorHandler(ErrorCallback? errorHandler) =>
    _defaultErrorHandler = errorHandler;