mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add additional VMware related exceptions
This commit is contained in:
parent
034ef30f7c
commit
36edf0af64
1 changed files with 20 additions and 1 deletions
|
@ -386,6 +386,13 @@ class VMwareSaltError(CommandExecutionError):
|
|||
'''
|
||||
|
||||
|
||||
class VMwareRuntimeError(VMwareSaltError):
|
||||
'''
|
||||
Used when a runtime error is encountered when communicating with the
|
||||
vCenter
|
||||
'''
|
||||
|
||||
|
||||
class VMwareConnectionError(VMwareSaltError):
|
||||
'''
|
||||
Used when the client fails to connect to a either a VMware vCenter server or
|
||||
|
@ -393,7 +400,19 @@ class VMwareConnectionError(VMwareSaltError):
|
|||
'''
|
||||
|
||||
|
||||
class VMwareApiError(VMwareSaltError):
|
||||
class VMwareObjectRetrievalError(VMwareSaltError):
|
||||
'''
|
||||
Used when a VMware object cannot be retrieved
|
||||
'''
|
||||
|
||||
|
||||
class VMwareApiError(VMwareSaltError):
|
||||
'''
|
||||
Used when representing a generic VMware API error
|
||||
'''
|
||||
|
||||
|
||||
class VMwareSystemError(VMwareSaltError):
|
||||
'''
|
||||
Used when representing a generic VMware system error
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue