summaryrefslogtreecommitdiffhomepage
path: root/mrblib/error.rb
diff options
context:
space:
mode:
Diffstat (limited to 'mrblib/error.rb')
-rw-r--r--mrblib/error.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/mrblib/error.rb b/mrblib/error.rb
index a5b6b3223..d76dd9c56 100644
--- a/mrblib/error.rb
+++ b/mrblib/error.rb
@@ -66,3 +66,6 @@ end
class NotImplementedError < ScriptError
end
+class StopIteration < IndexError
+ attr_accessor :result
+end