Skip to content

Commit

Permalink
add a generic error variant
Browse files Browse the repository at this point in the history
  • Loading branch information
kent-3 committed Oct 19, 2024
1 parent 95e3440 commit af331c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions secretrs/src/utils/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ use derive_more::From;

#[derive(Debug, From)]
pub enum Error {
#[from]
Other(String),
EmptyCiphertext,
InvalidCodeHash,
InvalidChainId {
Expand Down

0 comments on commit af331c7

Please sign in to comment.