Exception: Timeout::Error
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
RuntimeError
|
|
Instance Chain:
self,
RuntimeError
|
|
Inherits: |
RuntimeError
|
Defined in: | lib/timeout.rb |
Overview
Raised by timeout when the block times out.
Class Method Summary
- .handle_timeout(message) Internal use only
Class Method Details
.handle_timeout(message)
This method is for internal use only.
[ GitHub ]
# File 'lib/timeout.rb', line 34
def self.handle_timeout( ) # :nodoc: exc = ExitException.new( ) begin yield exc rescue ExitException => e raise new( ) if exc.equal?(e) raise end end