1pub mod call;
8pub mod http;
9pub mod icrc;
10pub mod mgmt;
11pub mod provision;
12pub mod signature;
13pub mod timer;
14
15pub use mgmt::*;
16
17use crate::{Error, ThisError, ops::OpsError};
18
19#[derive(Debug, ThisError)]
24pub enum IcOpsError {
25 #[error(transparent)]
26 ProvisionOpsError(#[from] provision::ProvisionOpsError),
27
28 #[error(transparent)]
29 SignatureOpsError(#[from] signature::SignatureOpsError),
30}
31
32impl From<IcOpsError> for Error {
33 fn from(err: IcOpsError) -> Self {
34 OpsError::from(err).into()
35 }
36}