How does the SDK handle errors?

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

How does the SDK handle errors?


END OF POST

How does the SDK handle errors? — vercel/ai