module loghelper.pqh_exception
¶
Short summary¶
module pyquickhelper.loghelper.pqh_exception
logged exception
By default, all exceptions are logged through the function fLOG (fLOG()
).
raise PQHException ("message")
Classes¶
class |
truncated documentation |
---|---|
Define an exception. |
Methods¶
method |
truncated documentation |
---|---|
constructor |
Documentation¶
logged exception
By default, all exceptions are logged through the function fLOG (fLOG
).
raise PQHException ("message")
- exception pyquickhelper.loghelper.pqh_exception.PQHException(m, log=True)[source]¶
Bases:
Exception
Define an exception.
exception used in Python module to make exception raised by this module easier to catch
every time exception is logged
constructor
- Parameters:
m – message
log – log the exception