Skip to content

chore: Refactor Bridge #1638

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ packages/core-bridge/releases
packages/*/package-lock.json
/sdk-node.iml
*~

# One test creates persisted SQLite DBs; they should normally be deleted automatically,
# but may be left behind in some error scenarios.
packages/test/temporal-db-*.sqlite
3 changes: 2 additions & 1 deletion packages/common/src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ export class ValueError extends Error {
export class PayloadConverterError extends ValueError {}

/**
* Used in different parts of the SDK to note that something unexpected has happened.
* Signals that a requested operation can't be completed because it is illegal given the
* current state of the object; e.g. trying to use a resource after it has been closed.
*/
@SymbolBasedInstanceOfError('IllegalStateError')
export class IllegalStateError extends Error {}
Expand Down
Loading
Loading