onError abstract method

void onError(
  1. Object error, [
  2. StackTrace? stackTrace
])

Invoked if an error occurs.

The MumbleClient will have been closed before onError is called, meaning that no further callbacks will be invoked (not even onDone). You should not attempt to use the object any more and instead create a new MumbleClient.

Implementation

void onError(Object error, [StackTrace? stackTrace]);