easybuild.base.exceptions module

Module providing custom exceptions.

author:Kenneth Hoste (Ghent University)
author:Riccardo Murri (University of Zurich)
exception easybuild.base.exceptions.LoggedException(msg, *args, **kwargs)

Bases: Exception

Exception that logs it’s message when it is created.

INCLUDE_LOCATION = True
LOC_INFO_TOP_PKG_NAMES = []
LOGGER_MODULE = <module 'easybuild.base.fancylogger' from '/home/docs/checkouts/readthedocs.org/user_builds/easybuild/envs/latest/lib/python3.7/site-packages/easybuild/base/fancylogger.py'>
LOGGING_METHOD_NAME = 'error'
easybuild.base.exceptions.get_callers_logger()

Get logger defined in caller’s environment :return: logger instance (or None if none was found)