summaryrefslogtreecommitdiff
path: root/libtnsl/box/vector.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2022-10-06 16:06:52 -0400
committerKyle Gunger <kgunger12@gmail.com>2022-10-06 16:06:52 -0400
commit34bfedcd1e5e67b630fb7648cf7709d4a400abc5 (patch)
tree39e67665f900200e85c7ff8f50353525e23b95de /libtnsl/box/vector.tnsl
parent5379b962bc177f26f550a23fb9685ca49a048076 (diff)
Minor fixes
Diffstat (limited to 'libtnsl/box/vector.tnsl')
-rw-r--r--libtnsl/box/vector.tnsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtnsl/box/vector.tnsl b/libtnsl/box/vector.tnsl
index 065239e..724393f 100644
--- a/libtnsl/box/vector.tnsl
+++ b/libtnsl/box/vector.tnsl
@@ -68,7 +68,7 @@
;/
# Probably not what errors will look like long term, but
# serves as a proof of concept for now
- ;throw Error{"Bad Index"}
+ ;throw Error("Bad index", ERROR_CODE.OUT_OF_RANGE)
;/
/; operator len [uint]