How does the SDK handle errors?

This post might have stale content, as main is 2389 commits ahead.

How does the SDK handle errors?


END OF POST

How does the SDK handle errors? — vercel/ai