Exception: Typhoeus::Errors::NoStub
- Inherits:
-
TyphoeusError
- Object
- StandardError
- TyphoeusError
- Typhoeus::Errors::NoStub
- Defined in:
- lib/typhoeus/errors/no_stub.rb
Overview
Raises when block connection is turned on and making a real request.
Instance Method Summary collapse
-
#initialize(request) ⇒ NoStub
constructor
A new instance of NoStub.
Constructor Details
#initialize(request) ⇒ NoStub
Returns a new instance of NoStub.
7 8 9 |
# File 'lib/typhoeus/errors/no_stub.rb', line 7 def initialize(request) super("The connection is blocked and no stub defined: #{request.url}") end |