Skip to content

Commit

Permalink
Re add command errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed Jan 6, 2025
1 parent 766d5d2 commit a2a3d87
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tesla_fleet_api/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,18 @@ class UnknownFault(TeslaFleetInformationFault):
message = "Unknown fault on signed command."
code = 1

class NotOnWhitelistFault(TeslaFleetInformationFault):
"""Not on whitelist fault on signed command."""

message = "Not on whitelist fault on signed command."
code = 2

class IVSmallerThanExpectedFault(TeslaFleetInformationFault):
"""IV smaller than expected fault on signed command."""

message = "IV smaller than expected fault on signed command."
code = 3

class InvalidTokenFault(TeslaFleetInformationFault):
"""Invalid token fault on signed command."""

Expand Down

0 comments on commit a2a3d87

Please sign in to comment.