Skip to content

Commit 6ff1b1c

Browse files
committed
Begone, TYPO!
1 parent e93b65c commit 6ff1b1c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/recnetpy/rest/exceptions/http_error.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,8 @@ class HTTPError(Exception):
99
"""
1010

1111
def __init__(self, resp: 'Response', msg: str = "No Info.") -> None:
12-
error_message = f"Info: {msg} \nURL: {resp.url} \nStatus: {resp.status}\n Data: \n{resp.data}"
12+
error_message = f"Info: {msg}\n" \
13+
f"URL: {resp.url}\n" \
14+
f"Status: {resp.status}\n" \
15+
f"Data: \n{resp.data}"
1316
super().__init__(error_message)

src/recnetpy/rest/exceptions/unauthorized.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ class Unauthorized(Exception):
1111
"""
1212

1313
def __init__(self, resp: 'Response') -> None:
14-
message = "You aren't authorized to access this rousource. Please verify you entered the correct api key."
14+
message = "You aren't authorized to access this resource. Please verify you entered the correct API key."
1515
super().__init__(resp, message)

0 commit comments

Comments
 (0)