#[repr(u32)]pub enum ZksyncError {
AnvilZksync(AnvilZksync),
Compiler(Compiler),
Core(Core),
Foundry(Foundry),
Hardhat(Hardhat),
}
Variants§
Implementations§
Trait Implementations§
Source§impl AsRef<str> for ZksyncError
impl AsRef<str> for ZksyncError
Source§impl Clone for ZksyncError
impl Clone for ZksyncError
Source§fn clone(&self) -> ZksyncError
fn clone(&self) -> ZksyncError
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 ZksyncError
impl Debug for ZksyncError
Source§impl<'de> Deserialize<'de> for ZksyncError
impl<'de> Deserialize<'de> for ZksyncError
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 Display for ZksyncError
impl Display for ZksyncError
Source§impl Documented for ZksyncError
impl Documented for ZksyncError
type Documentation = &'static ErrorDocumentation
fn get_documentation( &self, ) -> Result<Option<Self::Documentation>, DocumentationError>
Source§impl Error for ZksyncError
impl Error for ZksyncError
1.30.0 · 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<API> for ZksyncError
impl From<API> for ZksyncError
Source§impl From<AnvilEnvironment> for ZksyncError
impl From<AnvilEnvironment> for ZksyncError
Source§fn from(val: AnvilEnvironment) -> Self
fn from(val: AnvilEnvironment) -> Self
Converts to this type from the input type.
Source§impl From<AnvilGeneric> for ZksyncError
impl From<AnvilGeneric> for ZksyncError
Source§fn from(val: AnvilGeneric) -> Self
fn from(val: AnvilGeneric) -> Self
Converts to this type from the input type.
Source§impl From<AnvilZksync> for ZksyncError
impl From<AnvilZksync> for ZksyncError
Source§fn from(value: AnvilZksync) -> Self
fn from(value: AnvilZksync) -> Self
Converts to this type from the input type.
Source§impl From<Compiler> for ZksyncError
impl From<Compiler> for ZksyncError
Source§impl From<Core> for ZksyncError
impl From<Core> for ZksyncError
Source§impl From<EraVM> for ZksyncError
impl From<EraVM> for ZksyncError
Source§impl From<ExecutionPlatform> for ZksyncError
impl From<ExecutionPlatform> for ZksyncError
Source§fn from(val: ExecutionPlatform) -> Self
fn from(val: ExecutionPlatform) -> Self
Converts to this type from the input type.
Source§impl From<Foundry> for ZksyncError
impl From<Foundry> for ZksyncError
Source§impl From<FoundryUpstream> for ZksyncError
impl From<FoundryUpstream> for ZksyncError
Source§fn from(val: FoundryUpstream) -> Self
fn from(val: FoundryUpstream) -> Self
Converts to this type from the input type.
Source§impl From<FoundryZksync> for ZksyncError
impl From<FoundryZksync> for ZksyncError
Source§fn from(val: FoundryZksync) -> Self
fn from(val: FoundryZksync) -> Self
Converts to this type from the input type.
Source§impl From<Halt> for ZksyncError
impl From<Halt> for ZksyncError
Source§impl From<Hardhat> for ZksyncError
impl From<Hardhat> for ZksyncError
Source§impl From<HardhatUpstream> for ZksyncError
impl From<HardhatUpstream> for ZksyncError
Source§fn from(val: HardhatUpstream) -> Self
fn from(val: HardhatUpstream) -> Self
Converts to this type from the input type.
Source§impl From<HardhatZksync> for ZksyncError
impl From<HardhatZksync> for ZksyncError
Source§fn from(val: HardhatZksync) -> Self
fn from(val: HardhatZksync) -> Self
Converts to this type from the input type.
Source§impl From<LLVM_EVM> for ZksyncError
impl From<LLVM_EVM> for ZksyncError
Source§impl From<LLVM_Era> for ZksyncError
impl From<LLVM_Era> for ZksyncError
Source§impl From<Revert> for ZksyncError
impl From<Revert> for ZksyncError
Source§impl From<Sequencer> for ZksyncError
impl From<Sequencer> for ZksyncError
Source§impl From<Solc> for ZksyncError
impl From<Solc> for ZksyncError
Source§impl From<SolcFork> for ZksyncError
impl From<SolcFork> for ZksyncError
Source§impl From<Zksolc> for ZksyncError
impl From<Zksolc> for ZksyncError
Source§impl From<Zkvyper> for ZksyncError
impl From<Zkvyper> for ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for API
impl ICustomError<ZksyncError, ZksyncError> for API
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for AnvilEnvironment
impl ICustomError<ZksyncError, ZksyncError> for AnvilEnvironment
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for AnvilGeneric
impl ICustomError<ZksyncError, ZksyncError> for AnvilGeneric
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for AnvilZksync
impl ICustomError<ZksyncError, ZksyncError> for AnvilZksync
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for Compiler
impl ICustomError<ZksyncError, ZksyncError> for Compiler
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for Core
impl ICustomError<ZksyncError, ZksyncError> for Core
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for EraVM
impl ICustomError<ZksyncError, ZksyncError> for EraVM
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for ExecutionPlatform
impl ICustomError<ZksyncError, ZksyncError> for ExecutionPlatform
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for Foundry
impl ICustomError<ZksyncError, ZksyncError> for Foundry
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for FoundryUpstream
impl ICustomError<ZksyncError, ZksyncError> for FoundryUpstream
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for FoundryZksync
impl ICustomError<ZksyncError, ZksyncError> for FoundryZksync
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for Halt
impl ICustomError<ZksyncError, ZksyncError> for Halt
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for Hardhat
impl ICustomError<ZksyncError, ZksyncError> for Hardhat
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for HardhatUpstream
impl ICustomError<ZksyncError, ZksyncError> for HardhatUpstream
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for HardhatZksync
impl ICustomError<ZksyncError, ZksyncError> for HardhatZksync
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for LLVM_EVM
impl ICustomError<ZksyncError, ZksyncError> for LLVM_EVM
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for LLVM_Era
impl ICustomError<ZksyncError, ZksyncError> for LLVM_Era
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for Revert
impl ICustomError<ZksyncError, ZksyncError> for Revert
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for Sequencer
impl ICustomError<ZksyncError, ZksyncError> for Sequencer
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for Solc
impl ICustomError<ZksyncError, ZksyncError> for Solc
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for SolcFork
impl ICustomError<ZksyncError, ZksyncError> for SolcFork
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for Zksolc
impl ICustomError<ZksyncError, ZksyncError> for Zksolc
fn to_unified(&self) -> ZksyncError
Source§impl ICustomError<ZksyncError, ZksyncError> for Zkvyper
impl ICustomError<ZksyncError, ZksyncError> for Zkvyper
fn to_unified(&self) -> ZksyncError
Source§impl IError<ZksyncError> for ZksyncError
impl IError<ZksyncError> for ZksyncError
fn get_identifier(&self) -> Identifier
fn get_message(&self) -> String
fn get_data(&self) -> ZksyncError
Source§impl PartialEq for ZksyncError
impl PartialEq for ZksyncError
Source§impl Serialize for ZksyncError
impl Serialize for ZksyncError
impl Eq for ZksyncError
impl IUnifiedError<ZksyncError> for ZksyncError
impl StructuralPartialEq for ZksyncError
Auto Trait Implementations§
impl Freeze for ZksyncError
impl RefUnwindSafe for ZksyncError
impl Send for ZksyncError
impl Sync for ZksyncError
impl Unpin for ZksyncError
impl UnwindSafe for ZksyncError
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