Skip to content

Commit 5c2e949

Browse files
authored
Merge pull request #2571 from ksss/io-timeout_error
Add signature for `IO::TimeoutError`
2 parents 6b0b103 + f7a4da6 commit 5c2e949

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/io.rbs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3404,3 +3404,9 @@ end
34043404
#
34053405
module IO::WaitWritable
34063406
end
3407+
3408+
# <!-- rdoc-file=io.c -->
3409+
# Can be raised by IO operations when IO#timeout= is set.
3410+
#
3411+
class IO::TimeoutError < IOError
3412+
end

0 commit comments

Comments
 (0)