signstar_crypto/
error.rs

1//! Error handling.
2
3/// An error that may occur when working with cryptographic types for Signstar.
4#[derive(Debug, thiserror::Error)]
5pub enum Error {
6    /// An error related to OpenPGP occurred.
7    #[error("OpenPGP error: {0}")]
8    OpenPgp(#[from] crate::openpgp::Error),
9}