onSendReactionError

abstract fun onSendReactionError(originalCall: Call<Reaction>, reaction: Reaction, enforceUnique: Boolean, currentUser: User): ReturnOnErrorCall<Reaction>

Returns a Result from this side effect when original request is failed.

Return

result The replacement for the original result.

Parameters

originalCall

The original call.

reaction

The Reaction to send.

enforceUnique

Flag to determine whether the reaction should replace other ones added by the current user.

currentUser

The currently logged in user.