Skip to main content

signstar_host/configure/
error.rs

1//! Error handling.
2
3/// An error that may occur when configuring Signstar hosts and their backends during runtime.
4#[derive(Debug, thiserror::Error)]
5pub enum Error {
6    /// A [`std::num::ParseIntError`] occurred.
7    #[cfg(feature = "yubihsm2")]
8    #[error(transparent)]
9    ParseIntError(#[from] std::num::ParseIntError),
10}