MCPcopy Create free account
hub / github.com/apache/arrow-rs / error

Method error

arrow-json/src/reader/tape.rs:209–213  ·  view source on GitHub ↗

Returns an error reading index `idx`

(&self, idx: u32, expected: &str)

Source from the content-addressed store, hash-verified

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>

Callers 12

decodeMethod · 0.80
decodeMethod · 0.80
nextMethod · 0.80
decodeMethod · 0.80
decodeMethod · 0.80
decodeMethod · 0.80
decodeMethod · 0.80
decodeMethod · 0.80
decodeMethod · 0.80
decodeMethod · 0.80
decodeMethod · 0.80
estimate_data_capacityFunction · 0.80

Calls 1

serializeMethod · 0.45

Tested by

no test coverage detected