onError property

ErrorHandler onError
getter/setter pair

Implementation

ErrorHandler onError = (error) => {};