scroll-tech / scroll-tech/ceno
Advanced error handling
Open
Nobody has claimed this yet.
debugging tool
- Dominant language
- Rust
- Stars
- 153
- Forks
- 43
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 4
Description
Introduce a library that makes error handling more convenient and reports more debug information.
- Currently
anyhowis used in some places likeceno_emul. Another good choice is eyre. Pick one. - Revisit existing error types (
ZKVMError) and add context or backtraces. - Revisit core code that has only error messages but should use error types.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing error handling in ceno_emul, the ZKVMError type, and core code that currently exposes only error messages. Compare anyhow and eyre, then identify the error types and context or backtrace behavior that need agreement. Done means a chosen library is integrated consistently and the affected error paths provide the intended typed information.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100