Enum wasmrs_host::errors::Error
source · pub enum Error {
InitFailed(String),
NewContext(String),
SendFailed(String),
RSocket(Error),
PayloadError(PayloadError),
OpList(String),
OpMissing(String, String),
}Expand description
Error type for wasmRS errors.
Variants§
InitFailed(String)
Initialization Failed.
NewContext(String)
Creating a new context failed.
SendFailed(String)
Sending a frame failed.
RSocket(Error)
Guest send response to a stream that doesn’t exist.
PayloadError(PayloadError)
Guest send response to a stream that doesn’t exist.
OpList(String)
Querying Operation List failed.
OpMissing(String, String)
Could not find specified operation.
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<PayloadError> for Error
impl From<PayloadError> for Error
source§fn from(source: PayloadError) -> Self
fn from(source: PayloadError) -> Self
Converts to this type from the input type.