rename token

This commit is contained in:
thesimplekid
2023-05-05 20:36:21 -04:00
parent d138135613
commit 92e91b7d9b
6 changed files with 139 additions and 85 deletions

View File

@@ -23,4 +23,12 @@ pub enum Error {
/// Insufficaint Funds
#[error("Not enough funds")]
InsufficantFunds,
#[error("Custom error: {0}")]
CustomError(String),
/// From hex error
#[error("From Hex Error: {0}")]
HexError(#[from] hex::FromHexError),
/// From elliptic curve
#[error("From Elliptic: {0}")]
EllipticError(#[from] k256::elliptic_curve::Error),
}