1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

Let's have the new exceptions subclass basic exception types

This commit is contained in:
Kevin McCarthy
2013-12-19 19:34:06 -10:00
parent 41f5fce895
commit d4494bae50
4 changed files with 14 additions and 9 deletions

10
vcr/errors.py Normal file
View File

@@ -0,0 +1,10 @@
class CannotOverwriteExistingCassetteException(Exception):
pass
class UnhandledHTTPRequestError(KeyError):
'''
Raised when a cassette does not c
ontain the request we want
'''
pass