Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class · Ruby 4.1
IO::TimeoutError
< IOError
Can be raised by IO operations when IO#timeout= is set.