Hacker News new | ask | show | jobs
by stirner 3511 days ago
Another solution I hadn't considered is to simply impl std::convert::From<SomeError> for your custom error type for each SomeError that might be encountered.