exception.exception - Palamecia/mint GitHub Wiki
Module
load exception.exception
This module provides the Exception.Exception class which is a base class to create exception contexts.
Packages
Classes
Exception.Exception
This class provides a base to create exception contexts. It provides an helper method Exception.printError wich print a formated error message on the error output.
Members
Modifiers | Member | Description |
---|---|---|
# final const |
printError | Prints an error message on the error output. The generated message has a st... |
+ const |
show | Prints the exception informations on the error output when the exception is n... |
Descriptions
Exception.Exception.printError
def (self, error)
Prints an error
message on the error output. The generated message has
a standard error format.
Exception.Exception.show
def (self)
Prints the exception informations on the error output when the exception is not handled. This method can be overriden to print a custom message.