You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Client class should throw a custom exception if the capability is unsupported #430
Describe the solution you'd like
Client class should throw a custom exception like UnsupportedCapabilityException when the capability itself isn't supported - this makes it easy to write clients around this logic
Describe alternatives you've considered
Currently i am working around this by grepping the returned exception message to see if it contains the string does not support. This is very brittle and can break easily if the exception message changes
Activity
codewithkenzo commentedon Feb 2, 2026
Just noting that PR #1329 by @matteo-gobbo addresses this and looks ready - CI is green and the reviewer feedback has been addressed.
The approach (extending
Errorrather thanMcpError) makes sense since this is an implementation-level error, not a protocol-level one.fix: convert remaining capability throws to SdkError