gufo.err.middleware.errorinfo¶
ErrorInfo middleware.
ErrorInfoMiddleware
¶
Bases: BaseMiddleware
Dump error to JSON file.
Use err
tool to manipulate collected files.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
path |
str
|
Path to directory to write error info. |
required |
compress |
Optional[str]
|
Compression algorithm. One of:
|
None
|
Raises:
Type | Description |
---|---|
ValueError
|
If path is not writable. |
Examples: