Skip to content

gufo.err.formatter.terse

TerseFormatter class.

TerseFormatter

Bases: BaseFormatter

Condensed terse output.

iter_format(err)

Iterator yielding human-redable lines.

Process ErrorInfo instance and yield humar-readable lines one-by-one.

Parameters:

Name Type Description Default
err ErrorInfo

ErrorInfo instance

required

Returns:

Type Description
Iterable[str]

Iterator yieldig formatted lines.