Skip to main content

rootchain_std/
error.rs

1#[derive(Debug, Clone, Copy, PartialEq, Eq)]
2pub enum Error {
3    NotOwner,
4    InsufficientBalance,
5    InvalidAddress,
6    InvalidInput,
7    SerializationError,
8    Internal(u32),
9}
10
11pub type Result<T> = core::result::Result<T, Error>;