Skip to main content

binius_prover/
error.rs

1// Copyright 2025 Irreducible Inc.
2
3use crate::protocols::intmul;
4
5#[derive(Debug, thiserror::Error)]
6pub enum Error {
7	#[error("invalid argument {arg}: {msg}")]
8	ArgumentError { arg: String, msg: String },
9	#[error("transcript error: {0}")]
10	Transcript(#[from] binius_transcript::Error),
11	#[error("integer multiplication error: {0}")]
12	IntMul(#[from] intmul::Error),
13}