bibliopixel.util.exception module

bibliopixel.util.exception.add(*args)[source]

A context manager that appends arguments to any exception thrown

Parameters:args – Arguments to be appended to the .args attribute of any exception that is thrown while the context manager is active
bibliopixel.util.exception.report(function, *args, **kwds)[source]

Run a function, catch, report and discard exceptions