Skip to main content

binius_spartan_prover/
error.rs

1// Copyright 2025 Irreducible Inc.
2
3#[derive(Debug, thiserror::Error)]
4pub enum Error {
5	#[error("invalid argument {arg}: {msg}")]
6	ArgumentError { arg: String, msg: String },
7	#[error("transcript error: {0}")]
8	Transcript(#[from] binius_transcript::Error),
9}