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

Clean up exception strings and harmonize exception emission #6

Open
radiant64 opened this issue Nov 21, 2021 · 0 comments
Open

Clean up exception strings and harmonize exception emission #6

radiant64 opened this issue Nov 21, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@radiant64
Copy link
Owner

Currently exception strings are quite messy both in terms of content and nomenclature. Also exception emission behaviour in builtins is not consistent, with the conditions checked for differing quite a lot.

Generally, an exception should be thrown if

  • Too few arguments were provided to a function or syntax form.
  • Arguments have unexpected types.
  • Some type of internal error condition occurs (I/O error, resource allocation fails, out-of-bounds).
@radiant64 radiant64 added the enhancement New feature or request label Nov 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant