onError property

void Function(RuutClientException)? onError
getter/setter pair

Triggered when any error occurs in ruut client's operations with the error

See RuutClientExceptionType for the various types of exceptions that can be triggered

Implementation

void Function(RuutClientException)? onError;