genvid.toolbox.ConsulTemplateError

class genvid.toolbox.ConsulTemplateError

Bases: Exception, abc.ABC

Base error type for consul-template failures.

Deriving from this exception base class ensure that the exception is displayable as a string.

New in version 1.22.0.

log(logger)

Log the exception at ‘ERROR’ log level.

Parameters:logger – Logger to use to write the log.
class consul_template.ConsulTemplateError

Implementation of genvid.toolbox.ConsulTemplateError