Warnings#

The policyengine_core.warnings module contains specific definitions for individual warnings raised by other classes.

LibYAMLWarning#

class policyengine_core.warnings.LibYAMLWarning[source]#

Bases: UserWarning

Custom warning for LibYAML not installed.

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

MemoryConfigWarning#

class policyengine_core.warnings.MemoryConfigWarning[source]#

Bases: UserWarning

Custom warning for MemoryConfig.

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

TempfileWarning#

class policyengine_core.warnings.TempfileWarning[source]#

Bases: UserWarning

Custom warning when using a tempfile on disk.

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.