summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-15 07:28:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-15 07:28:08 +0000
commit558b9191c0c76d9807f339dae289a62ad7ed4ae8 (patch)
treefbed87b0b070cf04dccb7789607c496d758ec96a /error.c
parentabd5ba5af2b98d5cfdd947f855669f6e8cc61615 (diff)
vm_eval.c: UncaughtThrowError
* vm_eval.c (rb_throw_obj): throw UncaughtThrowError instead of ArgumentError. [Feature #10480] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/error.c b/error.c
index 2f01b5797b..bf4d59aaca 100644
--- a/error.c
+++ b/error.c
@@ -1798,6 +1798,7 @@ syserr_eqq(VALUE self, VALUE exc)
* * Interrupt
* * StandardError -- default for +rescue+
* * ArgumentError
+ * * UncaughtThrowError
* * EncodingError
* * FiberError
* * IOError