类 A2AError.Builder
java.lang.Object
io.github.a2ap.core.exception.A2AError.Builder
- 封闭类:
- A2AError
Builder class for A2AError
-
方法详细资料
-
message
Sets the error message- 参数:
message- The error message- 返回:
- This builder for chaining
-
code
Sets the error code- 参数:
code- The error code- 返回:
- This builder for chaining
-
data
Sets the additional data- 参数:
data- The additional data- 返回:
- This builder for chaining
-
taskId
Sets the task ID- 参数:
taskId- The task ID- 返回:
- This builder for chaining
-
cause
Sets the cause- 参数:
cause- The cause- 返回:
- This builder for chaining
-
build
Builds a new A2AError instance- 返回:
- The built instance
-