mintlayer-core
mintlayer-core copied to clipboard
Create a macro for ban score similar to thiserror
Starting from PR #222, we used a simplified method for assigning a ban score value to every error that works as a proof of concept. We should create a macro, similar to thiserror, that puts the ban score above each error in an attribute instead of having them aggregated in a separate file.
I'm on this one.
Feel free to create a PR when you're done. Currently no one is working on this one.
Roger, I will. Git has, in all its wisdom, decided to jack up security since I've last tried this, so I have to deal with some teething issues on my end. But once that's over, the commits will start coming. I'll tag you with the PR when it is ready.