pub enum Error {
NotFoundAtPath {
path: Vec<String>,
},
ExpectedNotEmpty {
parent: String,
},
ExpectedElementWithType {
name: String,
expected_type: String,
given: Option<String>,
},
ParseIntError {
name: String,
inner: ParseIntError,
},
ParseDateTimeError {
name: String,
inner: ParseError,
},
}
Variants
NotFoundAtPath | Element was expected at path, but was not found.
Fields
|
ExpectedNotEmpty | Expected element to contain children.
Fields
|
ExpectedElementWithType | Expected to find element with specified type.
Fields
|
ParseIntError | Can't parse received element.
Fields
|
ParseDateTimeError | Can't parse received element.
Fields
|
Trait Implementations
Derived Implementations