Class VCR::Errors::UnhandledHTTPRequestError
In: lib/vcr/errors.rb
Parent: Error

Error raised when an HTTP request is made that VCR is unable to handle. @note VCR will raise this to force you to do something about the

 HTTP request. The idea is that you want to handle _every_ HTTP
 request in your test suite. The error message will give you
 suggestions for how to deal with the request.

Methods

new  

Constants

ALL_SUGGESTIONS = { :use_new_episodes => [ ["You can use the :new_episodes record mode to allow VCR to", "record this new request to the existing cassette"], "https://www.relishapp.com/vcr/vcr/v/%s/docs/record-modes/new-episodes"   List of suggestions for how to configure VCR to handle the request.

Attributes

request  [R]  The HTTP request.

Public Class methods

Constructs the error.

@param [VCR::Request] request the unhandled request.

[Validate]