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: Error
Python interpreter or virtualenv not found
Io(Error)
Tuple Fields
0: Error
Wrapper around underlying io::Error
Failure
Fields
schema: PathBuf
path to the problematic schema
destination: PathBuf
path to the generated file
error: Error
the original io::Error
Failed to run generator