feat: make a transparent machine error for signature::Error

This commit is contained in:
rvcas 2023-02-04 16:24:39 -05:00 committed by Lucas
parent 175cd777d8
commit fb37521857
1 changed files with 2 additions and 0 deletions

View File

@ -48,4 +48,6 @@ pub enum Error {
DeserialisationError(String, Value), DeserialisationError(String, Value),
#[error("Integer overflow")] #[error("Integer overflow")]
OverflowError, OverflowError,
#[error(transparent)]
InvalidEcdsaSecp256k1Args(#[from] k256::ecdsa::signature::Error),
} }