Interface ErrorDetail.Builder

  • Method Details

    • locale

      ErrorDetail.Builder locale(String locale)

      The locale or language code for the error message.

      Parameters:
      locale - The locale or language code for the error message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • message

      ErrorDetail.Builder message(String message)

      A human-readable description of the error.

      Parameters:
      message - A human-readable description of the error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reason

      ErrorDetail.Builder reason(String reason)

      A machine-readable code or reason for the error.

      Parameters:
      reason - A machine-readable code or reason for the error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • reason

      A machine-readable code or reason for the error.

      Parameters:
      reason - A machine-readable code or reason for the error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: