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
An IO error occurred when loading a truffle artifact from disk.
Tuple Fields of Io
0: IoErrorA JSON error occurred while parsing a truffle artifact.
Tuple Fields of Json
0: JsonErrorContract was deployed onto different chains, and ABIs don’t match.
Tuple Fields of AbiMismatch
0: StringContract have multiple deployment addresses on the same chain.
Tuple Fields of DuplicateChain
0: String