From 34bfedcd1e5e67b630fb7648cf7709d4a400abc5 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Thu, 6 Oct 2022 16:06:52 -0400 Subject: Minor fixes --- libtnsl/box/vector.tnsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtnsl/box/vector.tnsl') 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] -- cgit v1.2.3