Really would like to get to a point where all my libs expose: `type Result = Result<T, LibraryError>` where `LibraryError` is a struct that wraps an enum that implements `Fail`. Having a clean error hierarchy is super neat to work with :D
-
Show this thread
Just in general: I think having a great error story is super important for libraries. Being able to enumerate all errors an application can produce is a great starting point. Getting some obscure errors bubbling up from a program's internals makes for hard to debug situations.
7:47 AM - 7 Jun 2018
0 replies
0 retweets
3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.