Skip to content

Commit 7e8300f

Browse files
committed
chore(bridge): Refactor TS-Core bridge
1 parent 58df441 commit 7e8300f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+7113
-4614
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ packages/core-bridge/releases
1212
packages/*/package-lock.json
1313
/sdk-node.iml
1414
*~
15+
16+
# One test creates persisted SQLite DBs; they should normally be deleted automatically,
17+
# but may be left behind in some error scenarios.
18+
packages/test/temporal-db-*.sqlite

packages/common/src/errors.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ export class ValueError extends Error {
2020
export class PayloadConverterError extends ValueError {}
2121

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

0 commit comments

Comments
 (0)