Interface ErrorInfo.Builder

  • Method Details

    • code

      The error code for an invalid or failed operation.

      Parameters:
      code - The error code for an invalid or failed operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reason

      ErrorInfo.Builder reason(String reason)

      The failure reason for the operation.

      Parameters:
      reason - The failure reason for the operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.