Skip to content

Commit

Permalink
More error codes we specialize
Browse files Browse the repository at this point in the history
  • Loading branch information
seveas committed Oct 14, 2015
1 parent c089529 commit fcca208
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hpilo.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ class IloUserNotFound(IloError):
class IloPermissionError(IloError):
possible_codes = [0x0023]

class IloNotARackServer(IloError):
possible_codes = [0x002a]

class IloLicenseKeyError(IloError):
possible_codes = [0x002e]

class IloFeatureNotSupported(IloError):
possible_codes = [0x003c]

Expand Down

0 comments on commit fcca208

Please sign in to comment.