rust-tuf icon indicating copy to clipboard operation
rust-tuf copied to clipboard

Change Error enum to be more semantically meaningful

Open heartsucker opened this issue 8 years ago • 2 comments

I keep tacking stuff on to it, but realistically it should have just an Opaque error type to catch all the IO / HTTP / whatever stuff, and then other values for TUF failures.

heartsucker avatar Jun 26 '17 10:06 heartsucker

So apparently there's this black magic stuff called error-chain that I should probably be using because omg every time I have to debug a nested error, I want to die.

heartsucker avatar Jul 12 '17 13:07 heartsucker

error-chain is pretty nice for managing boilerplate and automatically generating backtraces

tarcieri avatar Jul 14 '17 02:07 tarcieri