Enum fluence_faas::FaaSError [−][src]
pub enum FaaSError {
InvalidConfig(String),
InstantiationError {
module_import_name: String,
modules_dir: Option<PathBuf>,
provided_modules: Vec<String>,
},
IOError(String),
MissingFunctionError(String),
MissingArgumentError(String),
NoSuchModule(String),
JsonArgumentsDeserializationError(String),
JsonOutputSerializationError(String),
ParseConfigError(Error),
EngineError(MError),
}Variants
Errors that happened due to invalid config content
Tuple Fields of InvalidConfig
0: StringAn error occurred at the instantiation step.
Fields of InstantiationError
Various errors related to file i/o.
Tuple Fields of IOError
0: StringA function with specified name is missing.
Tuple Fields of MissingFunctionError
0: StringAn argument with specified name is missing.
Tuple Fields of MissingArgumentError
0: StringReturns when there is no module with such name.
Tuple Fields of NoSuchModule
0: StringProvided arguments aren’t compatible with a called function signature.
Tuple Fields of JsonArgumentsDeserializationError
0: StringReturned outputs aren’t compatible with a called function signature.
Tuple Fields of JsonOutputSerializationError
0: StringErrors related to invalid config.
Tuple Fields of ParseConfigError
0: ErrorMarine errors.
Tuple Fields of EngineError
0: MErrorTrait Implementations
Performs the conversion.