ErrorHandler
interface ErrorHandler : DeleteReactionErrorHandler, CreateChannelErrorHandler, QueryMembersErrorHandler, SendReactionErrorHandler, Comparable<ErrorHandler>
Extension for io.getstream.chat.android.client.ChatClient that allows handling plugins' errors.
See also
io.getstream.chat.android.client.experimental.plugin.Plugin
Properties
Link copied to clipboard
The priority of this ErrorHandler. Use it to run it before error handlers of the same type.
Inherited functions
Link copied to clipboard
abstract fun onDeleteReactionError(originalCall: Call<Message>, cid: String?, messageId: String): ReturnOnErrorCall<Message>
Returns a Result from this side effect when original request is failed.
Link copied to clipboard
abstract fun onQueryMembersError(originalCall: Call<List<Member>>, channelType: String, channelId: String, offset: Int, limit: Int, filter: FilterObject, sort: QuerySorter<Member>, members: List<Member>): ReturnOnErrorCall<List<Member>>
Returns a Result from this side effect when original request is failed.
Link copied to clipboard