summaryrefslogtreecommitdiffhomepage
path: root/mrblib
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-08-08 16:08:53 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-08-08 16:08:53 +0900
commit569c7dec5f884c3d1345dcc22b7ac0f568a06437 (patch)
treeca78fe2ee6a8a94d41cf3dbd1f24a7d47e8e2472 /mrblib
parent0e45aa0066adebf313621429751d13c5e2ef63a6 (diff)
downloadmruby-569c7dec5f884c3d1345dcc22b7ac0f568a06437.tar.gz
mruby-569c7dec5f884c3d1345dcc22b7ac0f568a06437.zip
move StopIteration to core; close #2518
Diffstat (limited to 'mrblib')
-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