File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
src/recnetpy/rest/exceptions Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff 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 } \n URL: { resp .url } \n Status: { 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 )
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments