onError property

void Function(ChatwootClientException)? onError
getter/setter pair

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

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

Implementation

void Function(ChatwootClientException)? onError;