Effect CommunityEC
Effect Community9mo ago
6 replies
danielo515

Plans for Wrapping Specific Errors to a Common Interface

Are there plans to wrap specific errors to a common interface in a more detailed Fashion than just AIError?
I just got this error:
{"type":"overloaded_error","message":"Overloaded"}

Which is coming from Anthropic. I could try to map that myself, but my agents are currently vendor agnostic, so I have to either use a schema that is kind of a union of each vendor error and use that, or do vendor specific error handling
Was this page helpful?