#[derive(Debug, Clone, PartialEq, Eq, thiserror::Error)]
#[non_exhaustive]
pub enum Error {
#[error("YAML line {line}, column {column}: {message}")]
Yaml {
line: usize,
column: usize,
message: String,
},
#[error("invalid node path at byte {offset}: {message}\n{input}")]
Path {
input: String,
offset: usize,
message: String,
},
}