xrpl/wallet/exceptions.rs
1use thiserror_no_std::Error;
2
3use crate::core::exceptions::XRPLCoreException;
4
5pub type XRPLWalletResult<T, E = XRPLWalletException> = core::result::Result<T, E>;
6
7#[derive(Debug, PartialEq, Error)]
8#[non_exhaustive]
9pub enum XRPLWalletException {
10 #[error("XRPL Core error: {0}")]
11 XRPLCoreError(#[from] XRPLCoreException),
12}