| Home | Trees | Indices | Help |
|
|---|
|
|
This module defines the core exceptions that are raised in Enomalism.
Status: Stable
|
|||
|
E2ExceptionLog Abstraction for an exception that gets stored in the database. |
|||
|
E2BaseException The base exception that is inherited by all other Enomalism exceptions. |
|||
|
E2ResourceLocked This exception is raised when an attempt is made to access some resource while it is locked. |
|||
|
E2UndefinedError This exception is raised when an error that cannot be identified takes place in Enomalism. |
|||
|
E2MalformedXML This exception is raised when Enomalism cannot read XML because it is malformed. |
|||
|
E2ProvisioningError This exception is raised when something goes wrong while Enomalism is provisioning a machine. |
|||
|
E2PermissionError This exception is raised when an attempt is made to access a resource without the required permissions. |
|||
|
E2RESTRecursionError This exception is raised when a rest call is being sent to the same machine as the callee. |
|||
|
E2CredentialsError This exception is raised when an attempt is made to access a resource without the required credentials. |
|||
|
E2HypervisorNotFound This exception is raised when Enomalism cannot find a particular hypervisor. |
|||
|
E2MachineNotFound This exception is raised when Enomalism cannot find a particular machine. |
|||
|
E2ClusterNotFound This exception is raised when Enomalism cannot find a particular cluster. |
|||
|
E2PackageNotFound This exception is raised when Enomalism cannot find a particular package. |
|||
|
E2ExceptionNotFound This exception is raised when Enomalism cannot find a particular exception. |
|||
|
E2LockerNotFound This exception is raised when Enomalism cannot find a particular locker. |
|||
|
E2TransactionNotFound This exception is raised when Enomalism cannot find a particular transaction. |
|||
|
E2UserNotFound This exception is raised when Enomalism cannot find a particular user. |
|||
|
E2GroupNotFound This exception is raised when Enomalism cannot find a particular group. |
|||
|
E2DefinitionNotFound This exception is raised when Enomalism cannot find a package or machine definition. |
|||
|
E2DependencyFailure This exception is raised when an Enomalism dependency cannot be satisfied. |
|||
|
E2InvalidParameter This exception is typically raised when an incorrect parameter type is passed to a method or function. |
|||
|
E2MissingParameter This exception is raised when a required parameter is not passed to a method or function. |
|||
|
|||
| String/None |
|
||
|
|||
Return the traceback of the exception that is currently being handled by the system. First, we create an "in-memory" file object and assign the traceback string to it by calling the print_exc function. We then close the file and return the string. If no exception is currently being handled, None is returned. Example usage: >>> from enomalism2 import exceptions >>> exceptions.get_traceback()
Status: Stable |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Sep 26 13:59:29 2008 | http://epydoc.sourceforge.net |