Raised by Timeout.timeout when the block times out.
Class Methods
3.3
View on GitHub
# File tmp/rubies/ruby-3.3.0/lib/timeout.rb, line 37
def self.handle_timeout(message)
exc = ExitException.new(message)
begin
yield exc
rescue ExitException => e
raise new(message) if exc.equal?(e)
raise
end
end
No documentation available