Skip to content

Commit

Permalink
chore: Cleanup some unused error variants
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Aug 21, 2023
1 parent a2d0345 commit 1f76e23
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions crates/noirc_abi/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ pub enum InputParserError {
ParseStr(String),
#[error("Could not parse hex value {0}")]
ParseHexStr(String),
#[error("duplicate variable name {0}")]
DuplicateVariableName(String),
#[error("cannot parse value into {0:?}")]
AbiTypeMismatch(AbiType),
#[error("Expected argument `{0}`, but none was found")]
Expand All @@ -38,8 +36,6 @@ impl From<serde_json::Error> for InputParserError {

#[derive(Debug, Error)]
pub enum AbiError {
#[error("{0}")]
Generic(String),
#[error("Received parameters not expected by ABI: {0:?}")]
UnexpectedParams(Vec<String>),
#[error("The parameter {} is expected to be a {:?} but found incompatible value {value:?}", .param.name, .param.typ)]
Expand Down

0 comments on commit 1f76e23

Please sign in to comment.