pub enum TerraRustTestingError {
Show 16 variants
MissingArgument(String),
IOErr(Error),
NumberFloatErr(ParseFloatError),
NumberIntErr(ParseIntError),
TerraRustAPIError(TerraRustAPIError),
TerraRustCLIError(TerraRustCLIError),
TerraRustWalletError(TerraRustWalletError),
SerdeJson(Error),
GlobError(GlobError),
PatternError(PatternError),
NotADirectory(String),
TooManyMatches(String),
QueryResponseFail(String, String, String, String),
ExecResponseFail(String, String, String, String, String, String),
ExecResponseShouldHaveFailed(String, String, String),
ExecResponseShouldHaveFailedMessage(String, String, String, String),
}Variants§
MissingArgument(String)
IOErr(Error)
NumberFloatErr(ParseFloatError)
NumberIntErr(ParseIntError)
TerraRustAPIError(TerraRustAPIError)
TerraRustCLIError(TerraRustCLIError)
TerraRustWalletError(TerraRustWalletError)
SerdeJson(Error)
GlobError(GlobError)
PatternError(PatternError)
NotADirectory(String)
TooManyMatches(String)
QueryResponseFail(String, String, String, String)
ExecResponseFail(String, String, String, String, String, String)
ExecResponseShouldHaveFailed(String, String, String)
ExecResponseShouldHaveFailedMessage(String, String, String, String)
Trait Implementations§
Source§impl Debug for TerraRustTestingError
impl Debug for TerraRustTestingError
Source§impl Display for TerraRustTestingError
impl Display for TerraRustTestingError
Source§impl Error for TerraRustTestingError
impl Error for TerraRustTestingError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 TerraRustTestingError
impl From<Error> for TerraRustTestingError
Source§impl From<Error> for TerraRustTestingError
impl From<Error> for TerraRustTestingError
Source§impl From<GlobError> for TerraRustTestingError
impl From<GlobError> for TerraRustTestingError
Source§impl From<ParseFloatError> for TerraRustTestingError
impl From<ParseFloatError> for TerraRustTestingError
Source§fn from(source: ParseFloatError) -> Self
fn from(source: ParseFloatError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for TerraRustTestingError
impl From<ParseIntError> for TerraRustTestingError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<PatternError> for TerraRustTestingError
impl From<PatternError> for TerraRustTestingError
Source§fn from(source: PatternError) -> Self
fn from(source: PatternError) -> Self
Converts to this type from the input type.
Source§impl From<TerraRustAPIError> for TerraRustTestingError
impl From<TerraRustAPIError> for TerraRustTestingError
Source§fn from(source: TerraRustAPIError) -> Self
fn from(source: TerraRustAPIError) -> Self
Converts to this type from the input type.
Source§impl From<TerraRustCLIError> for TerraRustTestingError
impl From<TerraRustCLIError> for TerraRustTestingError
Source§fn from(source: TerraRustCLIError) -> Self
fn from(source: TerraRustCLIError) -> Self
Converts to this type from the input type.
Source§impl From<TerraRustWalletError> for TerraRustTestingError
impl From<TerraRustWalletError> for TerraRustTestingError
Source§fn from(source: TerraRustWalletError) -> Self
fn from(source: TerraRustWalletError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TerraRustTestingError
impl !RefUnwindSafe for TerraRustTestingError
impl Send for TerraRustTestingError
impl Sync for TerraRustTestingError
impl Unpin for TerraRustTestingError
impl !UnwindSafe for TerraRustTestingError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more