summaryrefslogtreecommitdiffstats
path: root/vm_eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_eval.c b/vm_eval.c
index b4db202e5..1c66bea8a 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -1140,7 +1140,7 @@ rb_mod_module_exec(int argc, VALUE *argv, VALUE mod)
* throw(symbol [, obj])
*
* Transfers control to the end of the active +catch+ block
- * waiting for _symbol_. Raises +NameError+ if there
+ * waiting for _symbol_. Raises +ArgumentError+ if there
* is no +catch+ block for the symbol. The optional second
* parameter supplies a return value for the +catch+ block,
* which otherwise defaults to +nil+. For examples, see