Sha256: fb72281827fd108143b315c737bd1107ac8da624e2d9f376833a3b749a5f9bfd

Contents?: true

Size: 269 Bytes

Versions: 10

Compression:

Stored size: 269 Bytes

Contents

module Typhoeus
  module Errors

    # Raises when block connection is turned on
    # and making a real request.
    class NoStub < TyphoeusError
      def initialize(request)
        super("The connection is blocked and no stub defined.")
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
typhoeus-0.6.1 lib/typhoeus/errors/no_stub.rb
typhoeus-0.6.0 lib/typhoeus/errors/no_stub.rb
typhoeus-0.6 lib/typhoeus/errors/no_stub.rb
typhoeus-0.5.4 lib/typhoeus/errors/no_stub.rb
typhoeus-0.5.3 lib/typhoeus/errors/no_stub.rb
typhoeus-0.5.2 lib/typhoeus/errors/no_stub.rb
typhoeus-0.5.1 lib/typhoeus/errors/no_stub.rb
typhoeus-0.5.0 lib/typhoeus/errors/no_stub.rb
typhoeus-0.5.0.rc lib/typhoeus/errors/no_stub.rb
typhoeus-0.5.0.alpha lib/typhoeus/errors/no_stub.rb