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]

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]

Formats the value using the given formatter.

impl Display for RustyError
[src]

Formats the value using the given formatter.

impl Error for RustyError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl From<Error> for RustyError
[src]

Performs the conversion.