Returns an error reading index `idx`
(&self, idx: u32, expected: &str)
| 207 | |
| 208 | /// Returns an error reading index `idx` |
| 209 | pub fn error(&self, idx: u32, expected: &str) -> ArrowError { |
| 210 | let mut out = String::with_capacity(64); |
| 211 | self.serialize(&mut out, idx); |
| 212 | ArrowError::JsonError(format!("expected {expected} got {out}")) |
| 213 | } |
| 214 | } |
| 215 | |
| 216 | /// States based on <https://www.json.org/json-en.html> |
no test coverage detected