Interface ErrorInfo.Builder

    • Method Detail

      • errorMessage

        ErrorInfo.Builder errorMessage​(String errorMessage)

        Specifies the error message that appears if a flow fails.

        Parameters:
        errorMessage - Specifies the error message that appears if a flow fails.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorType

        ErrorInfo.Builder errorType​(String errorType)

        Specifies the type of error.

        Parameters:
        errorType - Specifies the type of error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ErrorDetails, ErrorDetails
      • errorType

        ErrorInfo.Builder errorType​(ErrorDetails errorType)

        Specifies the type of error.

        Parameters:
        errorType - Specifies the type of error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ErrorDetails, ErrorDetails