Skip to content

Fail connect with typed errors and report rejected tokens - #101

Merged
MV-GH merged 1 commit into
masterfrom
typed-connect-errors
Nov 21, 2026
Merged

MV-GH merged 1 commit into
masterfrom
typed-connect-errors

Conversation

@MV-GH

@MV-GH MV-GH commented Nov 20, 2026

Copy link
Copy Markdown
Owner

connect and connectForVersion now fail with a LemmyConnectException (NodeInfoUnavailable, NotLemmy, InvalidVersion, UnsupportedVersion) instead of a NotSupportedException, so callers can tell an unreachable instance from other software or an unsupported version. A version that isn't a version number no longer throws out of connect

connect and connectForVersion now fail with a LemmyConnectException
(NodeInfoUnavailable, NotLemmy, InvalidVersion, UnsupportedVersion)
instead of a NotSupportedException, so callers can tell an unreachable
instance from other software or an unsupported version. A version that
isn't a version number no longer throws out of connect
@MV-GH
MV-GH merged commit a6b2573 into master Nov 21, 2026
6 checks passed
@MV-GH
MV-GH deleted the typed-connect-errors branch November 21, 2026 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant