3 ms·
I usually use thiserror. dyn Error would be fine by me performance-wise, but I do want to exhaustively know the exact possible kinds of errors a function can r
by jchw 4y ago
I usually use thiserror.
dyn Error would be fine by me performance-wise, but I do want to exhaustively know the exact possible kinds of errors a function can return statically at compile-time, and dyn Error thwarts that. It looks like anyhow Result is basically in the same boat, just with better ergonomics.