Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2ad0b7c

Browse files
committedMay 26, 2015
Fix UncaughtThrowError
UncaughtThrowError should subclass ArgumentError instead of StandardError. See https://github.com/ruby/ruby/blob/v2_2_0/NEWS#L72.
1 parent 2d81952 commit 2ad0b7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎kernel/common/exception.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def to_s
213213
end
214214
end
215215

216-
class UncaughtThrowError < StandardError
216+
class UncaughtThrowError < ArgumentError
217217
end
218218

219219
class IndexError < StandardError

0 commit comments

Comments
 (0)
Please sign in to comment.