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.
PurpleDome/app/exceptions.py

39 lines
758 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 """
class RequirementError(Exception):
""" Plugin requirements not fulfilled """
class MachineError(Exception):
""" A virtual machine has issues"""
class SSHError(Exception):
""" A ssh based error """