From f7a4da6522c14d258c1474fee7592c90e72b7b33 Mon Sep 17 00:00:00 2001 From: ksss Date: Wed, 25 Jun 2025 23:01:31 +0900 Subject: [PATCH] Add signature for `IO::TimeoutError` --- core/io.rbs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/io.rbs b/core/io.rbs index ee955cbd6..298276138 100644 --- a/core/io.rbs +++ b/core/io.rbs @@ -3404,3 +3404,9 @@ end # module IO::WaitWritable end + +# +# Can be raised by IO operations when IO#timeout= is set. +# +class IO::TimeoutError < IOError +end