MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / err

Method err

std/json/src/main/tokenizer.rs:34–36  ·  view source on GitHub ↗
(&self, msg: impl Into<String>)

Source from the content-addressed store, hash-verified

32 pub fn pos(&self) -> usize { self.pos }
33
34 fn err(&self, msg: impl Into<String>) -> JsonError {
35 JsonError { msg: msg.into(), pos: self.pos }
36 }
37
38 fn skip_ws(&mut self) {
39 while self.pos < self.src.len() {

Callers 5

next_tokenMethod · 0.45
read_keywordMethod · 0.45
read_stringMethod · 0.45
read_hex4Method · 0.45
read_numberMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected