Skip to content

Export stream error class#1958

Open
hieusmiths wants to merge 1 commit intolangchain-ai:mainfrom
hieusmiths:feat/export-stream-err-class
Open

Export stream error class#1958
hieusmiths wants to merge 1 commit intolangchain-ai:mainfrom
hieusmiths:feat/export-stream-err-class

Conversation

@hieusmiths
Copy link

@hieusmiths hieusmiths commented Feb 11, 2026

Export StreamError class from SDK for client use

This PR exports the StreamError class from the SDK's public API, making it available for external client use.

Changes

  • Added StreamError export to /libs/sdk/src/index.ts

Motivation

The StreamError class was previously defined in libs/sdk/src/ui/errors.ts but was not exported from the SDK's main entry point. This prevented clients from using the class to handle stream errors properly

By exporting this class, clients can now:

  • Import and use StreamError directly from the SDK
  • Catch and handle stream-specific errors with proper typing

Testing

  • Verified the class is properly exported from the SDK entry point
  • No breaking changes to existing functionality

@changeset-bot
Copy link

changeset-bot bot commented Feb 11, 2026

⚠️ No Changeset found

Latest commit: 6a95c8d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant