Enum fuels_core::signature::SignatureError
source · [−]pub enum SignatureError {
InvalidLength(usize),
DecodingError(FromHexError),
VerificationError(Address, Address),
RecoveryError,
}
Expand description
An error involving a signature.
Variants
InvalidLength(usize)
Invalid length
DecodingError(FromHexError)
When parsing a signature from string to hex
VerificationError(Address, Address)
Thrown when signature verification failed (i.e. when the address that produced the signature did not match the expected address)
RecoveryError
Error in recovering public key from signature
Trait Implementations
Performs the conversion.