SpamapS / rustygear

Apache License 2.0
5 stars 2 forks source link

io::Error is a cop-out #5

Closed SpamapS closed 2 months ago

SpamapS commented 4 years ago

We're using this error type because we were lazy. Let's make our own and ensure it can convert cleanly to std::error.

SpamapS commented 2 months ago

Use of io::Error is limited to internal matters and the worker interface, where it makes sense as a rather generic, sized error type, simplifying writing workers.