Skip to content

Be more robust about exceptions#10

Merged
LaserEyess merged 1 commit into
mainfrom
exceptions
Jun 28, 2026
Merged

Be more robust about exceptions#10
LaserEyess merged 1 commit into
mainfrom
exceptions

Conversation

@LaserEyess

@LaserEyess LaserEyess commented Jun 27, 2026

Copy link
Copy Markdown
Owner

See commit message.

Also suggested by the clanker. Catch more possible exceptions in
writer.write() and writer.drain().

This also adds a ServerAbortedError, which indicates that we are
aborting early to catch something unknown that we should never be
experiencing.

In general the exception handling was also just cleaned up to make it a
little easier to diganose bugs.
@LaserEyess
LaserEyess merged commit 8544acb into main Jun 28, 2026
1 check passed
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