llama.filehandler.classes module

Classes associated with generating FileHandler files.

class llama.filehandler.classes.GenerationResult

Bases: llama.filehandler.classes.GenerationResultTuple

The result of a generation attempt. Contains the FileHandler that attempted to generate the file, a descriptive message of what happened during the generation attempt, and, if an uncaught exception terminated the generation attempt, it contains that exception.

fhFileHandler

The FileHandler that attempted to generate its file.

errBaseException, optional

An uncaught exception that terminated file generation. Set to None if no exception was raised.

class llama.filehandler.classes.GenerationResultTuple(fh, err)

Bases: tuple

property err

Alias for field number 1

property fh

Alias for field number 0