blockfrost / blockfrost-rust

Rust SDK for Blockfrost.io
Apache License 2.0
16 stars 17 forks source link

Add more context to Error variants #8

Closed marcospb19 closed 3 years ago

marcospb19 commented 3 years ago

Error variants should contain more information about where they came from, even if it's redundant, sometimes crate users use the try operator '?' raising the error up to the main function, it then gets printed out, losing context on where it came from.

Adding more context and better messages will considerably improve debugging.

marcospb19 commented 3 years ago

Finished at 1a7c908bb32be1c4d3e8242289ca4550faccaba6.