Raised by Timeout.timeout when the block times out.
Timeout.timeout
Source: show | on GitHub
# File ruby/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