y5gfunc.source.wobbly.core.context¶
context
¶
Processing contexts and helpers for Wobbly parser.
Functions:
| Name | Description |
|---|---|
safe_processing |
Safe processing context manager for catching and transforming exceptions |
safe_processing
¶
Safe processing context manager for catching and transforming exceptions
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
Processing stage name |
required |
|
Optional[dict[str, Any]]
|
Optional details to include in error |
None
|
Yields:
| Type | Description |
|---|---|
None
|
Nothing |