~runxiyu/cca#10: 
Improve error handling

The ways errors are handled is somewhat arbitrary. Generally speaking, we should be returning errors, and errors should be reported to the user in a message handler (or the event loop, which may be more appropriate) rather in auxiliary functions. Errors should be wrapped from predefined error variables, i.e. fmt.Errorf("%w: %w", errPredefinedSomething, err).

Status
RESOLVED IMPLEMENTED
Submitter
~runxiyu
Assigned to
No-one
Submitted
3 months ago
Updated
a month ago
Labels
enhancement

~runxiyu 3 months ago

Runxi Yu referenced this ticket in commit b0afe34.

~runxiyu REPORTED IMPLEMENTED a month ago

I think it's pretty much done now. Will check again in the next audit.

Register here or Log in to comment, or comment via email.