arturo
arturo copied to clipboard
[VM/errors] General cleanup needed
[VM/errors] General cleanup needed
Do we need all these different errors? Could it be done in a more organized function by, at least, using some template? Are there other errors - mostly coming from built-in functions - that are not reported, which we could add?
https://github.com/arturo-lang/arturo/blob/ce734e7a32c73173910cdf8f533f56be21febe3b/src/vm/errors.nim#L9
######################################################
# TODO(VM/errors) General cleanup needed
# Do we need all these different errors? Could it be done in a more organized function by, at least, using some template? Are there other errors - mostly coming from built-in functions - that are not reported, which we could add?
# labels: vm, error handling, enhancement, cleanup
#=======================================
# Libraries
#=======================================
ndex 8e6d1f3eb..737f04386 100644
++ b/src/vm/eval.nim
f01da1410449d2b45a68f1ddc820a1029f0acaaa