Convert json.JSONDecodeError to SerializationError.
(error: json.JSONDecodeError)
| 90 | |
| 91 | |
| 92 | def from_json_error(error: json.JSONDecodeError) -> SerializationError: |
| 93 | """ |
| 94 | Convert json.JSONDecodeError to SerializationError. |
| 95 | """ |
| 96 | return SerializationError.from_json_error(error) |
| 97 | |
| 98 | |
| 99 | def from_io_error(error: OSError) -> IoError: |
nothing calls this directly
no test coverage detected