1pub type Result<A> = std::result::Result<A, Error>;
2
3#[derive(Debug)]
4pub enum Error {
5 FieldNotExist { field: String },
6 CannotScanYaml { detail: String },
7 IncompatibleVersion { version: String },
8 TypeMismatch,
9 UnknownDataType(String),
10}