extract_error.Rdhelper function code to extract error from API response into a data.table
extract_error(responses, imagePaths)
| responses | an API response object |
|---|---|
| imagePaths | character, file paths, URLs or Cloud Storage URIs of the images, can be a combination of all three |
a data.table