Enum flatdata::GeneratorError [−][src]
pub enum GeneratorError {
PythonError(Error),
Io(Error),
Failure {
schema: PathBuf,
destination: PathBuf,
error: Error,
},
}Expand description
Error type for generate function
Variants
PythonError(Error)
Tuple Fields
0: ErrorPython interpreter or virtualenv not found
Io(Error)
Tuple Fields
0: ErrorWrapper around underlying io::Error
Failure
Fields
schema: PathBufpath to the problematic schema
destination: PathBufpath to the generated file
error: Errorthe original io::Error
Failed to run generator
