Interface ErrorHandler
-
- All Implemented Interfaces:
-
io.getstream.chat.android.client.errorhandler.CreateChannelErrorHandler,io.getstream.chat.android.client.errorhandler.DeleteReactionErrorHandler,io.getstream.chat.android.client.errorhandler.QueryMembersErrorHandler,io.getstream.chat.android.client.errorhandler.SendReactionErrorHandler,kotlin.Comparable
public interface ErrorHandler implements DeleteReactionErrorHandler, CreateChannelErrorHandler, QueryMembersErrorHandler, SendReactionErrorHandler, Comparable<ErrorHandler>
Extension for io.getstream.chat.android.client.ChatClient that allows handling plugins' errors.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classErrorHandler.Companion
-
Method Summary
Modifier and Type Method Description IntegercompareTo(ErrorHandler other)abstract IntegergetPriority()The priority of this ErrorHandler. -
Methods inherited from class io.getstream.chat.android.client.errorhandler.DeleteReactionErrorHandler
onDeleteReactionError -
Methods inherited from class io.getstream.chat.android.client.errorhandler.CreateChannelErrorHandler
onCreateChannelError -
Methods inherited from class io.getstream.chat.android.client.errorhandler.QueryMembersErrorHandler
onQueryMembersError -
Methods inherited from class io.getstream.chat.android.client.errorhandler.SendReactionErrorHandler
onSendReactionError -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
compareTo
Integer compareTo(ErrorHandler other)
-
getPriority
abstract Integer getPriority()
The priority of this ErrorHandler. Use it to run it before error handlers of the same type.
-
-
-
-