diff --git a/acvm/src/lib.rs b/acvm/src/lib.rs index 11791df6a..a2dc5d960 100644 --- a/acvm/src/lib.rs +++ b/acvm/src/lib.rs @@ -52,6 +52,8 @@ pub enum OpcodeResolutionError { UnexpectedOpcode(&'static str, BlackBoxFunc), #[error("expected {0} inputs for function {1}, but got {2}")] IncorrectNumFunctionArguments(usize, BlackBoxFunc, usize), + #[error("failed to solve blackbox function: {0}, reason: {1}")] + BlackBoxFunctionFailed(BlackBoxFunc, String), } #[derive(Debug, PartialEq)]