Enum fluence_app_service::FaaSError
source · [−]pub enum FaaSError {
InvalidConfig(String),
InstantiationError {
module_import_name: String,
modules_dir: Option<PathBuf>,
provided_modules: Vec<String, Global>,
},
IOError(String),
MissingFunctionError(String),
MissingArgumentError(String),
NoSuchModule(String),
JsonArgumentsDeserializationError(String),
JsonOutputSerializationError(String),
ParseConfigError(Error),
MaxHeapSizeOverflow {
max_heap_size_wanted: u64,
max_heap_size_allowed: u64,
},
EngineError(MError),
}Variants
InvalidConfig(String)
Errors that happened due to invalid config content
InstantiationError
An error occurred at the instantiation step.
IOError(String)
Various errors related to file i/o.
MissingFunctionError(String)
A function with specified name is missing.
MissingArgumentError(String)
An argument with specified name is missing.
NoSuchModule(String)
Returns when there is no module with such name.
JsonArgumentsDeserializationError(String)
Provided arguments aren’t compatible with a called function signature.
JsonOutputSerializationError(String)
Returned outputs aren’t compatible with a called function signature.
ParseConfigError(Error)
Errors related to invalid config.
MaxHeapSizeOverflow
Errors related to invalid config.
EngineError(MError)
Marine errors.
Trait Implementations
Performs the conversion.