-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfest
Description
The makeLocalGnarkZkOperator function in gnark.ts could benefit from improved error handling to provide more informative messages to users.
Tasks:
- Replace the generic console.log statement with a more specific error message.
- Consider creating a custom error type for Gnark-related errors.
- Ensure that the error message includes information about supported platforms.
- Add a try-catch block around the initGnark function call to handle potential errors during initialization.
- Update the return statement to provide a more informative error when Gnark is not supported.
Improving error handling will help users better understand and troubleshoot issues when working with Gnark in different environments.
Contributors: Please note that by submitting a pull request, you are agreeing to accept and sign the Contributor License Agreement (CLA) found at https://github.com/reclaimprotocol/.github/blob/main/CLA.md
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfest