Enum novax_executor::GatewayError
source · pub enum GatewayError {
CannotFetchAddressInfo {
address: String,
},
CannotParseAddressInfo {
address: String,
},
NoDataForAddressInfo {
address: String,
},
CannotFetchNetworkConfig,
CannotParseNetworkConfig,
CannotSimulateTransaction,
CannotParseSimulationResponse,
}Expand description
An enumeration representing various types of errors that can occur during interactions with the MultiversX gateway.
Variants§
CannotFetchAddressInfo
Error that occurs when fetching information for an address from the /address/{address} endpoint.
CannotParseAddressInfo
Represents an error when parsing the address information fetched from the gateway.
NoDataForAddressInfo
Indicates that no data was available for the requested address information.
Fields
CannotFetchNetworkConfig
Error encountered when attempting to fetch the network configuration from the /network/config endpoint.
CannotParseNetworkConfig
Occurs when there is a problem parsing the network configuration data fetched from the gateway.
CannotSimulateTransaction
Represents an error when simulating a transaction through the gateway.
CannotParseSimulationResponse
This error is thrown when there is a problem parsing the response from a transaction simulation.
Trait Implementations§
source§impl Clone for GatewayError
impl Clone for GatewayError
source§fn clone(&self) -> GatewayError
fn clone(&self) -> GatewayError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GatewayError
impl Debug for GatewayError
source§impl<'de> Deserialize<'de> for GatewayError
impl<'de> Deserialize<'de> for GatewayError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<GatewayError> for ExecutorError
impl From<GatewayError> for ExecutorError
source§fn from(value: GatewayError) -> Self
fn from(value: GatewayError) -> Self
Converts to this type from the input type.
source§impl PartialEq for GatewayError
impl PartialEq for GatewayError
source§impl Serialize for GatewayError
impl Serialize for GatewayError
impl StructuralPartialEq for GatewayError
Auto Trait Implementations§
impl Freeze for GatewayError
impl RefUnwindSafe for GatewayError
impl Send for GatewayError
impl Sync for GatewayError
impl Unpin for GatewayError
impl UnwindSafe for GatewayError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
fn interpret_from(from: &T, _context: &InterpreterContext) -> T
source§impl<T> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more