pub async fn load_error_file(
path: impl AsRef<Path>,
) -> Result<BatchErrorData, JsonParseError>
Expand description
ALL-OR-NOTHING loader for the error file.
Reads NDJSON (one BatchResponseRecord
per line).
If any line is invalid, we return an error. No skipping.