Enum snarkvm::errors::ParameterError
source · pub enum ParameterError {
ChecksumMismatch(String, String),
Crate(&'static str, String),
Message(String),
RemoteFetchDisabled,
SizeMismatch(usize, usize),
}Variants§
ChecksumMismatch(String, String)
Crate(&'static str, String)
Message(String)
RemoteFetchDisabled
SizeMismatch(usize, usize)
Trait Implementations§
source§impl Debug for ParameterError
impl Debug for ParameterError
source§impl Display for ParameterError
impl Display for ParameterError
source§impl Error for ParameterError
impl Error for ParameterError
1.30.0 · 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<Error> for ParameterError
impl From<Error> for ParameterError
source§fn from(error: Error) -> ParameterError
fn from(error: Error) -> ParameterError
Converts to this type from the input type.
source§impl From<Error> for ParameterError
impl From<Error> for ParameterError
source§fn from(error: Error) -> ParameterError
fn from(error: Error) -> ParameterError
Converts to this type from the input type.
source§impl From<StripPrefixError> for ParameterError
impl From<StripPrefixError> for ParameterError
source§fn from(error: StripPrefixError) -> ParameterError
fn from(error: StripPrefixError) -> ParameterError
Converts to this type from the input type.