Skip to content

Commit a91dd41

Browse files
committed
Update README
1 parent 450d123 commit a91dd41

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@ The root package exposes sentinel errors that callers can check with `errors.Is`
443443
- `appsync.ErrSubscriptionClosed`
444444
- `appsync.ErrSubscriptionNotFound`
445445
- `appsync.ErrHeartbeatTimeout`
446+
- `appsync.ErrConnectionClosed`
446447

447448
Typical handling:
448449

@@ -468,6 +469,8 @@ Relevant behavior:
468469
- `ErrHeartbeatTimeout` means keep-alive messages stopped arriving within the expected connection timeout window.
469470
- `ErrSubscriptionClosed` means the subscription is no longer active.
470471
- `ErrSubscriptionInboxFull` means the subscriber did not consume events fast enough for its configured buffer.
472+
- `ErrConnectionClosed` means the connection is no longer live either because it was manually closed or because there
473+
was an error which will be joined with this error
471474
- Context cancellation and deadlines are propagated from public methods where applicable.
472475

473476
## Examples

0 commit comments

Comments
 (0)