arturo icon indicating copy to clipboard operation
arturo copied to clipboard

[VM/errors] General cleanup needed

Open github-actions[bot] opened this issue 1 year ago • 0 comments

[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

github-actions[bot] avatar Aug 03 '22 11:08 github-actions[bot]