Interface SendReactionErrorHandler

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract ReturnOnErrorCall<Reaction> onSendReactionError(Call<Reaction> originalCall, Reaction reaction, Boolean enforceUnique, User currentUser) Returns a Result from this side effect when original request is failed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onSendReactionError

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

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

        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.
        Returns:

        result The replacement for the original result.