Skip to content

Commit

Permalink
not wrapping bs58 errors anymore so dont need imports or exports
Browse files Browse the repository at this point in the history
  • Loading branch information
xoloki committed Jan 25, 2024
1 parent 2cb6722 commit 4a17b0c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions p256k1/src/errors.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
use bs58::{decode::Error as DecodeError, encode::Error as EncodeError};
use core::{
cmp::PartialEq,
fmt::{Debug, Display, Formatter, Result as FmtResult},
};
use serde::{Deserialize, Serialize};

/// Re-export of crate `bs58`'s decode error
pub type Base58DecodeError = DecodeError;
/// Re-export of crate `bs58`'s encode error
pub type Base58EncodeError = EncodeError;

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
/// Base58-related errors
pub enum Base58Error {
Expand Down

0 comments on commit 4a17b0c

Please sign in to comment.