8000 ref: Make error enum more fine-grained by loewenheim · Pull Request #11 · timfish/minidumper-child · GitHub
[go: up one dir, main page]

Skip to content

ref: Make error enum more fine-grained - #11

Merged
timfish merged 1 commit into
timfish:mainfrom
loewenheim:ref/error-enum
Jul 6, 2026
Merged

timfish merged 1 commit into
timfish:mainfrom
loewenheim:ref/error-enum

Conversation

@loewenheim
Copy link
Copy Markdown
Contributor

This adds individual error enum variants for all operations that can fail. The intention is to make it easier to trace which operation produced a minidumper error in particular (the io and CrashHandler cases can only originate from one place anyway).

It also changes Server::start and Client::start to take OwnedSocketName instead of SocketName so that the socket name can be included in the error. This is not possible with SocketName because it doesn't implement Debug or Display.

This adds individual error enum variants for all operations that can
fail. The intention is to make it easier to trace which operation
produced a minidumper error in particular (the `io` and `CrashHandler`
cases can only originate from one place anyway).
@timfish
timfish merged commit c71f9d1 into timfish:main Jul 6, 2026
3 checks 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.

2 participants

0