Better error handling #1
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: uplime/gargoyle#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, there is no error handling with the exception of a semi-helpful error code. Even for my own personal projects this would be painful to work around.
The error should probably be a
struct
containing the following information:There should also be a utility function to print the error if the user does not want a custom format.
gargoyle_digest_*
now returns an error code and fills outgargoyle_err
with the context of the failure. Fixed in47332f3777
andb39bc46b50
.