Skip to content

Replace UnknownError with specific DOMException types. - #339

Open
markafoltz wants to merge 1 commit into
mainfrom
fix-execution-errors
Open

markafoltz wants to merge 1 commit into
mainfrom
fix-execution-errors

Conversation

@markafoltz

@markafoltz markafoltz commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

Addresses #323.


Preview | Diff

Comment thread index.bs
1. [=map/Remove=] |localExecutions|[|uuid|].

1. Run |completionSteps| given null and false.
1. Run |completionSteps| given null and "{{OperationError}}".

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This quashes all tool promise rejections into OperationError, even if executeTool() is called on a same-document registered tool. I could see an argument for propagating the full rejection object in that case, but it would make the behavior less consistent.

@markafoltz
markafoltz requested review from bwalderman and domfarolino and removed request for domfarolino October 7, 2026 17:07

This branch has not been deployed

No deployments
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