Skip to content

Commit

Permalink
Clearer logs
Browse files Browse the repository at this point in the history
  • Loading branch information
MTRNord committed Apr 18, 2022
1 parent 940aba6 commit 096708e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/errors.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
use crate::StateMap;
use string_cache::{Atom, EmptyStaticAtomSet};
use thiserror::Error;

#[derive(Error, Debug)]
pub enum StateCompressorError {
#[error("Missing state_goup: {0}")]
#[error("Missing state_goup: {}", .0)]
MissingStateGroup(i64),
#[error("Missing prev_state_group: {0}")]
#[error("Missing prev_state_group: {}", .0)]
MissingPrevStateGroup(i64),
#[error("States for group {} do not match. Expected {:#?}, found {:#?}",.0, .1, .2)]
#[error("States for group {} do not match. Expected {:#?}, found {:#?}", .0, .1, .2)]
StateMissmatchedForGroup(
i64,
Box<StateMap<Atom<EmptyStaticAtomSet>>>,
Expand Down

0 comments on commit 096708e

Please sign in to comment.