Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error handling #11

Open
burdges opened this issue Apr 4, 2020 · 0 comments
Open

Error handling #11

burdges opened this issue Apr 4, 2020 · 0 comments

Comments

@burdges
Copy link
Collaborator

burdges commented Apr 4, 2020

We add our own new error types, so we should add our own Error type that extends SynthesisError, but currently I just use ::std::io::Error with custom strings.

If we stick with zcash then all error types could ? into bellman::SynthesisError thanks to its IoError(::std::io::Error) variant, except..

We'd prefer ZEXE which presumable does error handling differently, especially since they support no_std.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant