Method: ContentGateway::TimeoutError#initialize
- Defined in:
- lib/content_gateway/exceptions.rb
#initialize(resource_url, wrapped_exception = nil, timeout = nil) ⇒ TimeoutError
Returns a new instance of TimeoutError.
40 41 42 43 44 |
# File 'lib/content_gateway/exceptions.rb', line 40 def initialize(resource_url, wrapped_exception = nil, timeout = nil) info = "TIMEOUT (max #{timeout} s)" if timeout super(resource_url, wrapped_exception, 408, info) end |