module loghelper.pqh_exception

Inheritance diagram of pyquickhelper.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")

source on GitHub

Classes

class

truncated documentation

PQHException

Define an exception.

Methods

method

truncated documentation

__init__

constructor

Documentation

logged exception

By default, all exceptions are logged through the function fLOG (fLOG).

raise PQHException ("message")

source on GitHub

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

source on GitHub

constructor

Parameters:
  • m – message

  • log – log the exception

source on GitHub

__init__(m, log=True)[source]

constructor

Parameters:
  • m – message

  • log – log the exception

source on GitHub