mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
feat(engine): infrastructure
* allow usage of cmn.rs for common types (like Error types) * instantiate an engine and handle errors, in an initial quick and dirty way. Fixes #52
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum ArgumentError {
|
||||
ConfigurationDirectoryInaccessible(String),
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct InvalidOptionsError {
|
||||
pub issues: Vec<ArgumentError>,
|
||||
pub exit_code: i32,
|
||||
}
|
||||
Reference in New Issue
Block a user