Enum ethcontract_common::errors::ArtifactError [−][src]
pub enum ArtifactError {
Io(IoError),
Json(JsonError),
AbiMismatch(String),
DuplicateChain(String),
}Expand description
An error in loading or parsing an artifact.
Variants
Io(IoError)An IO error occurred when loading a truffle artifact from disk.
Json(JsonError)A JSON error occurred while parsing a truffle artifact.
AbiMismatch(String)Contract was deployed onto different chains, and ABIs don’t match.
DuplicateChain(String)Contract have multiple deployment addresses on the same chain.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ArtifactErrorimpl Send for ArtifactErrorimpl Sync for ArtifactErrorimpl Unpin for ArtifactErrorimpl !UnwindSafe for ArtifactError