Closed zuphitf closed 10 months ago
We already use anyhow::Error
to allow for custom VM errors coming mostly from the HintProcessor
. Is there any reason we need a new trait rather than using that?
We already use
anyhow::Error
to allow for custom VM errors coming mostly from theHintProcessor
. Is there any reason we need a new trait rather than using that?
We haven't noticed it. Thanks for pointing this out. Will try utilizing this error instead. Will close the PR for now.
Add
trait HintProcessorError
and aCustomHintEx
variant toHintError
that uses the trait. The extended custom hint error is to be used by the hint processor in Starknet 's Blockifier to improve error handling.Checklist