mirror of https://github.com/avast/PurpleDome
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
543 B
Python
27 lines
543 B
Python
#!/usr/bin/env python3
|
|
""" A collection of shared exceptions """
|
|
|
|
|
|
class ServerError(Exception):
|
|
""" An elemental server is not running """
|
|
|
|
|
|
class ConfigurationError(Exception):
|
|
""" An elemental server is not running """
|
|
|
|
|
|
class PluginError(Exception):
|
|
""" Some plugin core function is broken """
|
|
|
|
|
|
class CalderaError(Exception):
|
|
""" Caldera is broken """
|
|
|
|
|
|
class NetworkError(Exception):
|
|
""" Network connection (like ssh) can not be established """
|
|
|
|
|
|
class MetasploitError(Exception):
|
|
""" Metasploit had an error """
|