Interface TaskError.Builder

  • Method Details

    • errorCode

      TaskError.Builder errorCode(String errorCode)

      The code of the error.

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

      TaskError.Builder errorMessage(String errorMessage)

      The message of the error.

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