Skip to content

Commit

Permalink
ErrorClass comparisons
Browse files Browse the repository at this point in the history
  • Loading branch information
arcnmx committed Mar 14, 2018
1 parent c8924a5 commit a95b4cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ pub trait Event: DeserializeOwned {
const NAME: &'static str;
}

#[derive(Debug, Clone, Serialize, Deserialize)]
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize)]
pub enum ErrorClass {
/// this is used for errors that don’t require a specific error class. This should be the default case for most errors
GenericError,
Expand Down

0 comments on commit a95b4cf

Please sign in to comment.