1/// Type alias for Transaction ID
2pub type TransactionId = candid::Nat;
34/// An enum representing possible errors that can occur during transaction operations.
5#[derive(Debug, thiserror::Error)]
6pub enum TransactionError {
7#[error("No active transaction")]
8NoActiveTransaction,
9}