Skip to content

Commit 30439bc

Browse files
author
Kenneth Reitz
committed
/s/SerpAPI/SerpApi
1 parent fdc9a56 commit 30439bc

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

serpapi/exceptions.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
import requests
22

33

4-
class SerpAPIError(Exception):
4+
class SerpApiError(Exception):
55
"""Base class for exceptions in this module."""
66

77
pass
88

99

10-
class APIKeyNotProvided(ValueError, SerpAPIError):
10+
class APIKeyNotProvided(ValueError, SerpApiError):
1111
"""API key is not provided."""
1212

1313
pass
1414

1515

16-
class SearchIDNotProvided(ValueError, SerpAPIError):
16+
class SearchIDNotProvided(ValueError, SerpApiError):
1717
"""Search ID is not provided."""
1818

1919
pass
2020

2121

22-
class HTTPError(requests.exceptions.HTTPError, SerpAPIError):
22+
class HTTPError(requests.exceptions.HTTPError, SerpApiError):
2323
"""HTTP Error."""
2424

2525
pass
2626

2727

28-
class HTTPConnectionError(HTTPError, requests.exceptions.ConnectionError, SerpAPIError):
28+
class HTTPConnectionError(HTTPError, requests.exceptions.ConnectionError, SerpApiError):
2929
"""Connection Error."""
3030

3131
pass

0 commit comments

Comments
 (0)