Skip to main content

type_error

Function type_error 

Source
pub fn type_error(v: &Node, go_type: &str) -> DecodeError
Expand description

A value of the wrong JSON kind for go_type. Go names a number without its literal here; number_error is the numeric-range case that includes it.