onError property

ErrorCallback? onError
getter/setter pair

Callback function for error updates

Implementation

ErrorCallback? onError;