Enum fluence_app_service::FaaSError[][src]

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),
    EngineError(FCEError),
}

Variants

InvalidConfig(String)

Errors that happened due to invalid config content

InstantiationError

An error occurred at the instantiation step.

Fields of InstantiationError

module_import_name: Stringmodules_dir: Option<PathBuf>provided_modules: Vec<String, Global>
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.

EngineError(FCEError)

FCE errors.

Trait Implementations

impl Debug for FaaSError[src]

impl Display for FaaSError[src]

impl Error for FaaSError[src]

impl From<Error> for FaaSError[src]

impl From<Error> for FaaSError[src]

impl From<FCEError> for FaaSError[src]

impl From<FaaSError> for AppServiceError[src]

impl From<Infallible> for FaaSError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.