Interface UserError.Builder

    • Method Detail

      • 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, ErrorCode
      • 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:
        ErrorCode, ErrorCode
      • 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.