summaryrefslogtreecommitdiff
path: root/libtnsl/box/vector.tnsl
diff options
context:
space:
mode:
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]