Interface ErrorDetail.Builder

    • Method Detail

      • errorCode

        ErrorDetail.Builder errorCode​(String errorCode)

        The error code that identifies the type of error.

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

        ErrorDetail.Builder errorMessage​(String errorMessage)

        The message for the error.

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