fee6ad58d1
- Updated the error handling in the `onError` callback to use `AISDKError` type for better type safety. - Introduced a new `serializeError` function to standardize error serialization. - Modified the `ErrorBlock` component to directly access the error message. - Removed deprecated error formatting functions to streamline the error utility module.