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

Juno Error Codes #19

Open
thebongy opened this issue May 8, 2020 · 1 comment
Open

Juno Error Codes #19

thebongy opened this issue May 8, 2020 · 1 comment

Comments

@thebongy
Copy link
Contributor

thebongy commented May 8, 2020

The library doesn't currently propagate errors raised from juno, or raise errors for cases like when a function is not found for example
Refer to https://github.com/bytesonus/juno/blob/develop/docs/ERROR-CODES.md ,
the error codes defined in the above link have to be respected

@thebongy thebongy added the bug Something isn't working label May 8, 2020
@thebongy thebongy changed the title Better error handling Juno Error Codes May 8, 2020
thebongy added a commit that referenced this issue May 8, 2020
* fix: Throw unkown function error code when function not found in module.
Support returning falsy values from a juno function

* Bump version to 0.1.2

* feat: Include juno error message on errors
Closes #20 and Closes #19
@thebongy
Copy link
Contributor Author

thebongy commented May 8, 2020

TODO: Add tests for error codes

@thebongy thebongy added tests-required and removed bug Something isn't working labels May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant