did_utils/crypto/
errors.rs

1/// The set of errors that can occur during key operations.
2#[derive(Debug)]
3pub enum Error {
4    CanNotComputePublicKey,
5    CanNotRetrieveSignature,
6    InvalidCurve,
7    InvalidKeyLength,
8    InvalidSecretKey,
9    InvalidSeed,
10    InvalidPublicKey,
11    SignatureError,
12    VerificationError,
13    InvalidProof,
14    InvalidCall(String),
15    Unsupported,
16    Unknown(String),
17}