Enum convo::error::ImportError [−][src]
pub enum ImportError { IO(Error), Scan(ScanError), Validation(TreeError), MultipleDocumentsProvided(), }
Expand description
A ImportError
is a category of errors returned by parser functions that returns Result
s.
Variants
IO(Error)
An error caused when IO issues occur during importing.
Scan(ScanError)
An error caused when YAML is unable to be scanned in.
Validation(TreeError)
An error caused when a tree is not considered legal when parsing. See also: validation rules.
An error caused when the target content contains multiple YAML documents.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ImportError
impl Send for ImportError
impl Sync for ImportError
impl Unpin for ImportError
impl !UnwindSafe for ImportError