(err: &ArrowError)
| 268 | } |
| 269 | |
| 270 | fn get_error_code(err: &ArrowError) -> i32 { |
| 271 | match err { |
| 272 | ArrowError::NotYetImplemented(_) => ENOSYS, |
| 273 | ArrowError::MemoryError(_) => ENOMEM, |
| 274 | ArrowError::IoError(_, _) => EIO, |
| 275 | _ => EINVAL, |
| 276 | } |
| 277 | } |
| 278 | |
| 279 | /// A `RecordBatchReader` which imports Arrays from `FFI_ArrowArrayStream`. |
| 280 | /// |
no outgoing calls
no test coverage detected