Better error handling #1
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: uplime/gargoyle#1
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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
.