Skip to content

fix: use appropriate error code for channel attachment timeout#961

Merged
AndyTWF merged 1 commit intomainfrom
959-channel-attachment-timeout-error
Jul 3, 2023
Merged

fix: use appropriate error code for channel attachment timeout#961
AndyTWF merged 1 commit intomainfrom
959-channel-attachment-timeout-error

Conversation

@AndyTWF
Copy link
Contributor

@AndyTWF AndyTWF commented Jul 3, 2023

Previously, for channel attachment timeouts we were using error code 91200 which is not documented for users and was removed from the specification somewhere around version 0.9. It looks like it was removed almost immediately after it was implemented in ably-java.

This change fixes this by changing the code to 90007 which is used elsewhere and more appropriate for this use-case (used in detach in ably-java, and in ably-js).

Fixes #959

Previously, for channel attachment timeouts we were using error code 91200 which is not documented for users and was removed from the specification somewhere
around version 0.9. It looks like it was removed almost immediately after it was implemented in ably-java.

This change fixes this by changing the code to 90007 which is used elsewhere
and more appropriate for this use-case (used in detach in ably-java, and in ably-js).

Fixes #959
@AndyTWF AndyTWF merged commit d03fab4 into main Jul 3, 2023
@AndyTWF AndyTWF deleted the 959-channel-attachment-timeout-error branch July 3, 2023 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Error code for channel attachment timed out

2 participants