summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/d5/tengo/runtime/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/d5/tengo/runtime/errors.go')
-rw-r--r--vendor/github.com/d5/tengo/runtime/errors.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/github.com/d5/tengo/runtime/errors.go b/vendor/github.com/d5/tengo/runtime/errors.go
index f5f201ce..fc7ca0e9 100644
--- a/vendor/github.com/d5/tengo/runtime/errors.go
+++ b/vendor/github.com/d5/tengo/runtime/errors.go
@@ -6,3 +6,6 @@ import (
// ErrStackOverflow is a stack overflow error.
var ErrStackOverflow = errors.New("stack overflow")
+
+// ErrObjectAllocLimit is an objects allocation limit error.
+var ErrObjectAllocLimit = errors.New("object allocation limit exceeded")