mintlayer-core icon indicating copy to clipboard operation
mintlayer-core copied to clipboard

Create a macro for ban score similar to thiserror

Open TheQuantumPhysicist opened this issue 3 years ago • 3 comments
trafficstars

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.

TheQuantumPhysicist avatar Jun 15 '22 05:06 TheQuantumPhysicist

I'm on this one.

ghost avatar Jul 02 '22 18:07 ghost

Feel free to create a PR when you're done. Currently no one is working on this one.

TheQuantumPhysicist avatar Jul 02 '22 19:07 TheQuantumPhysicist

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.

ghost avatar Jul 03 '22 17:07 ghost