-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from tmack8001/tmack/graphql-otp
validate_otp_graphql endpoint and fix http error swallowing exception handling
- Loading branch information
Showing
2 changed files
with
119 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,17 @@ | ||
class RivianExpiredTokenError(Exception): | ||
"""Access Token Expired Error""" | ||
"""Access Token Expired Error""" | ||
|
||
class RivianUnauthenticated(Exception): | ||
"""User Token Invalid Error""" | ||
|
||
class RivianInvalidCredentials(Exception): | ||
"""Invalid User Credentials - Check Username and Password""" | ||
|
||
class RivianInvalidOTP(Exception): | ||
"""User's One Time Password Invalid - Try Again""" | ||
|
||
class RivianDataError(Exception): | ||
"""Rivian Server Data Error""" | ||
|
||
class RivianTemporarilyLockedError(Exception): | ||
"""Rivian User Temporarily Locked Error""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters