myronmarston/vcr — Issue #92: Improve "real HTTP connections are not allowed" error messages
Author: myronmarston
Created: 2011-10-14 15:09:31+00:00
State: open

Currently VCR just uses the same error message every time. However, I think it's often unclear to the end user exactly what they did wrong to get this message. It would be nice to improve this message (and maybe even have logic that is based on the current context). Examples:

* VCR does not currently have an inserted cassette. You should insert a cassette or use the `allow_http_connections_when_no_cassette` option.
* None of the HTTPInteractions in the current cassette match the new request. You might need to use a different `:match_requests_on` option.