Repository navigation
errors: Add 90011 "Channel released while not detached" - #367
Conversation
|
Could this get a review? The next-major branches of ably-pubsub-js, ably-pubsub-java, ably-pubsub-dotnet, ably-go and ably-pubsub-python already raise 90011 from One small follow-up while this is open. Checked against |
Raised by SDKs when Channels#release() is called on a channel that is not in the initialized, detached or failed state (spec RTS4e). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@sacOO7 as the PR author I am the one person who cannot review this. But you could 🙂
I've added a short parenthetical to the 90001. But not with that wording: the target audience for these error pages is users, not SDK developers. Talking about "SDKs that implement RTS4e" is gibberish to end-users, the feature spec is not user-facing documentation. |
4f81a41 to
3ef17ec
Compare
Registers 90011, raised by SDKs when
Channels#release()is called on a realtime channel that isn't in the initialized, detached or failed state. This is spec RTS4e, added in specification 6.3.0 (ably/specification#557).The SDK PRs that throw this code are against each SDK's next-major branch. ably-js's typed
ErrorCodeunion means ably/ably-pubsub-js#2323 needs its submodule pin bumped once this merges.🤖 Generated with Claude Code