fission-codes / fission-cli

Rewrite it in Rust 🦀
Apache License 2.0
1 stars 1 forks source link

Error Interface and how that's exposed to users #30

Open zeeshanlakhani opened 1 year ago

zeeshanlakhani commented 1 year ago

Summary

Problem

Currently we are using the package Anyhow. However, this package is quite clunky when trying to give specific error messages.

Impact

This clunky-ness of the Anyhow library takes away precious developer time in the form of adding all the error messages to the code and/or the code becoming significantly harder debug.

Solution

Switch the code to use the thiserror library.