Skip to content

Conversation

Laupetin
Copy link
Collaborator

  • Previously error handling was barely implemented, no timeouts were specified.
    To combat this, the client now tries to constantly reconnect to the server if disconnected with gradually increasing backoffs.
  • When backing off, authentication and state are now cleared as well.
  • JavaDoc was added for a lot of methods that are exposed to the outside.
  • Non recoverable errors are now wrapped in a MatrixCommunicationException.
  • Non-critical errors are exposed as return values in their appropriate functions.
  • The MatrixClient implementation is now internal, only an interface is exposed.

@Laupetin Laupetin merged commit 4009a09 into main Sep 30, 2025
1 check passed
@Laupetin Laupetin deleted the better-error-handling branch September 30, 2025 12:29
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