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

Function to_pdk_err

std/json/src/main/parser.rs:167–169  ·  view source on GitHub ↗
(e: JsonError)

Source from the content-addressed store, hash-verified

165}
166
167fn to_pdk_err(e: JsonError) -> Error {
168 Error::Value(format!("{} at byte {}", e.msg, e.pos))
169}
170
171fn value_err(pos: usize, msg: &str) -> Error {
172 Error::Value(format!("{} at byte {}", msg, pos))

Callers

nothing calls this directly

Calls 1

ValueEnum · 0.50

Tested by

no test coverage detected