MCPcopy Create free account
hub / github.com/saltstack/salt / SaltCloudSystemExit

Class SaltCloudSystemExit

salt/cloud/exceptions.py:20–31  ·  view source on GitHub ↗

This exception is raised when the execution should be stopped.

Source from the content-addressed store, hash-verified

18
19
20class SaltCloudSystemExit(SaltCloudException):
21 """
22 This exception is raised when the execution should be stopped.
23 """
24
25 def __init__(self, message, exit_code=salt.defaults.exitcodes.EX_GENERIC):
26 SaltCloudException.__init__(self, message)
27 self.message = (
28 "{} [WARNING: salt.cloud.exceptions is deprecated. Please migrate to"
29 " salt.exceptions!]".format(message)
30 )
31 self.exit_code = exit_code
32
33
34class SaltCloudConfigError(SaltCloudException):

Callers 15

bootstrapFunction · 0.90
deploy_scriptFunction · 0.90
_exec_ssh_cmdFunction · 0.90
list_nodes_selectFunction · 0.90
get_entryFunction · 0.90
get_entry_multiFunction · 0.90
_old_initMethod · 0.90
_volume_getMethod · 0.90
volume_listMethod · 0.90
volume_showMethod · 0.90
volume_createMethod · 0.90
volume_deleteMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected