Sha256: 15464c1cbf2822c10ab9ea04e31a0f8f66968ed4687a964aabfdc82521787f9d

Contents?: true

Size: 845 Bytes

Versions: 1

Compression:

Stored size: 845 Bytes

Contents

module VCR
  module Errors
    class Error                     < StandardError; end
    class CassetteInUseError        < Error; end
    class TurnedOffError            < Error; end
    class MissingERBVariableError   < Error; end
    class LibraryVersionTooLowError < Error; end
    class UnregisteredMatcherError  < Error; end
    class InvalidCassetteFormatError < Error; end

    class HTTPConnectionNotAllowedError < Error
      def initialize(request)
        super \
          "Real HTTP connections are disabled. " +
          "Request: #{request.method.to_s.upcase} #{request.uri}. " +
          "You can use VCR to automatically record this request and replay it later. " +
          "For more details, visit the VCR documentation at: http://relishapp.com/myronmarston/vcr/v/#{VCR.version.gsub('.', '-')}"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vcr-2.0.0.beta2 lib/vcr/errors.rb