Interface UserError.Builder

  • Method Details

    • userId

      UserError.Builder userId(String userId)

      The user ID for which the action failed.

      Parameters:
      userId - The user ID for which the action failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorCode

      UserError.Builder errorCode(String errorCode)

      The error code.

      Parameters:
      errorCode - The error code.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorCode

      UserError.Builder errorCode(ErrorCode errorCode)

      The error code.

      Parameters:
      errorCode - The error code.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorMessage

      UserError.Builder errorMessage(String errorMessage)

      The error message.

      Parameters:
      errorMessage - The error message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.