Enum fluence_app_service::MarineError
source · [−]pub enum MarineError {
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 {
module_name: String,
function_name: String,
error: ITJsonSeDeError,
},
JsonOutputSerializationError {
module_name: String,
function_name: String,
error: ITJsonSeDeError,
},
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
Provided arguments aren’t compatible with a called function signature.
JsonOutputSerializationError
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
sourceimpl Debug for MarineError
impl Debug for MarineError
sourceimpl Display for MarineError
impl Display for MarineError
sourceimpl Error for MarineError
impl Error for MarineError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<Error> for MarineError
impl From<Error> for MarineError
sourcefn from(err: Error) -> MarineError
fn from(err: Error) -> MarineError
Converts to this type from the input type.
sourceimpl From<Error> for MarineError
impl From<Error> for MarineError
sourcefn from(source: Error) -> MarineError
fn from(source: Error) -> MarineError
Converts to this type from the input type.
sourceimpl From<Infallible> for MarineError
impl From<Infallible> for MarineError
sourcefn from(Infallible) -> MarineError
fn from(Infallible) -> MarineError
Converts to this type from the input type.
sourceimpl From<MError> for MarineError
impl From<MError> for MarineError
sourcefn from(source: MError) -> MarineError
fn from(source: MError) -> MarineError
Converts to this type from the input type.
sourceimpl From<MarineError> for AppServiceError
impl From<MarineError> for AppServiceError
sourcefn from(err: MarineError) -> Self
fn from(err: MarineError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for MarineError
impl Send for MarineError
impl Sync for MarineError
impl Unpin for MarineError
impl !UnwindSafe for MarineError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more