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.

add_note()#

Exception.add_note(note) – add a note to the exception

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.

add_note()#

Exception.add_note(note) – add a note to the exception

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.

add_note()#

Exception.add_note(note) – add a note to the exception

with_traceback()#

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