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

Some built-in errors do not include source location #275

Closed
tsandall opened this issue Feb 22, 2017 · 0 comments
Closed

Some built-in errors do not include source location #275

tsandall opened this issue Feb 22, 2017 · 0 comments

Comments

@tsandall
Copy link
Member

A few built-in error paths do not result in this source location being included in the returned error:

  • to_number // bad input string
  • divide // by zero
  • re_match // bad pattern

These built-ins should be updated to return operand errors so that the built-in framework can wrap them appropriately.

tsandall added a commit to tsandall/opa that referenced this issue Feb 22, 2017
tsandall added a commit that referenced this issue Feb 23, 2017
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