Interface ValidationFailure.Builder

    • Method Detail

      • code

        ValidationFailure.Builder code​(String code)

        The error code of the failure.

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

        ValidationFailure.Builder message​(String message)

        A message corresponding to the failure.

        Parameters:
        message - A message corresponding to the failure.
        Returns:
        Returns a reference to this object so that method calls can be chained together.