pub enum AkdError {
TreeNode(TreeNodeError),
Directory(DirectoryError),
AzksErr(AzksError),
Vrf(VrfError),
Storage(StorageError),
AuditErr(AuditorError),
TestErr(String),
}
Expand description
Symbolizes a AkdError, thrown by the akd.
Variants§
TreeNode(TreeNodeError)
Error propagation
Directory(DirectoryError)
Error propagation
AzksErr(AzksError)
Error propagation
Vrf(VrfError)
Vrf related error
Storage(StorageError)
Storage layer error thrown
AuditErr(AuditorError)
Audit verification error thrown
TestErr(String)
Test error
Trait Implementations§
source§impl Error for AkdError
impl Error for AkdError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<AuditorError> for AkdError
impl From<AuditorError> for AkdError
source§fn from(error: AuditorError) -> Self
fn from(error: AuditorError) -> Self
Converts to this type from the input type.
source§impl From<DirectoryError> for AkdError
impl From<DirectoryError> for AkdError
source§fn from(error: DirectoryError) -> Self
fn from(error: DirectoryError) -> Self
Converts to this type from the input type.
source§impl From<StorageError> for AkdError
impl From<StorageError> for AkdError
source§fn from(error: StorageError) -> Self
fn from(error: StorageError) -> Self
Converts to this type from the input type.
source§impl From<TreeNodeError> for AkdError
impl From<TreeNodeError> for AkdError
source§fn from(error: TreeNodeError) -> Self
fn from(error: TreeNodeError) -> Self
Converts to this type from the input type.
source§impl From<VerificationError> for AkdError
impl From<VerificationError> for AkdError
source§fn from(err: VerificationError) -> Self
fn from(err: VerificationError) -> Self
Converts to this type from the input type.