Is your feature request related to a problem? Please describe.
Hi, when I was using the SDK, I noticed that it shows A2AError in many cases.
But sometimes it shows java.lang Exceptions instead.
For instance, in org.a2aproject.sdk.spec.Message, when it checks the parameters like role/parts, it shows java.lang.IllegalArgumentException instead of the org.a2aproject.sdk.spec.InvalidParamsError.
Describe the solution you'd like
I would like the SDK to throw A2AError when possible, so that I can unify the error handling by catching the A2AError only.
Please tell me what you think. Thanks!
Describe alternatives you've considered
No response
Additional context
No response
Code of Conduct
Is your feature request related to a problem? Please describe.
Hi, when I was using the SDK, I noticed that it shows A2AError in many cases.
But sometimes it shows java.lang Exceptions instead.
For instance, in org.a2aproject.sdk.spec.Message, when it checks the parameters like role/parts, it shows java.lang.IllegalArgumentException instead of the org.a2aproject.sdk.spec.InvalidParamsError.
Describe the solution you'd like
I would like the SDK to throw A2AError when possible, so that I can unify the error handling by catching the A2AError only.
Please tell me what you think. Thanks!
Describe alternatives you've considered
No response
Additional context
No response
Code of Conduct