You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
564 B

3 years ago
  1. use core::fmt::Debug;
  2. #[derive(Clone, Debug, Eq, PartialEq)]
  3. pub enum NovaError {
  4. /// returned if the supplied row or col in (row,col,val) tuple is out of range
  5. InvalidIndex,
  6. /// returned if the supplied input is not of the right length
  7. InvalidInputLength,
  8. /// returned if the supplied witness is not of the right length
  9. InvalidWitnessLength,
  10. /// returned if the supplied witness is not a satisfying witness to a given shape and instance
  11. UnSat,
  12. /// returned when the supplied compressed commitment cannot be decompressed
  13. DecompressionError,
  14. }