Struct rusty_secrets::RustyError
[−]
[src]
pub struct RustyError { /* fields omitted */ }
Error struct used for generating an io::Error
from a generic description.
Methods
impl RustyError
[src]
fn with_type(error_type: RustyErrorTypes) -> RustyError
Returns a RustyError
with a given RustyErrorType
.
Returns the index of the share that raised the error, if any.
Returns the group of shares that were generated during the same secret share. It can be used to provide a debug message to the user telling him what shares are incompatible.
Trait Implementations
impl Debug for RustyError
[src]
impl Display for RustyError
[src]
impl Error for RustyError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Error> for RustyError
[src]
fn from(err: Error) -> RustyError
Performs the conversion.