mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix: improve ecies error fatal variants (#11303)
This commit is contained in:
@ -13,6 +13,11 @@ impl ECIESError {
|
||||
pub fn into_inner(self) -> ECIESErrorImpl {
|
||||
*self.inner
|
||||
}
|
||||
|
||||
/// Returns a reference to the inner error
|
||||
pub const fn inner(&self) -> &ECIESErrorImpl {
|
||||
&self.inner
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Display for ECIESError {
|
||||
|
||||
Reference in New Issue
Block a user