Struct pendulum::error::PendulumError
[−]
[src]
pub struct PendulumError<T> { /* fields omitted */ }
Error type for Pendulum
operations.
Methods
impl<T> PendulumError<T>
[src]
fn new(item: T, kind: PendulumErrorKind) -> PendulumError<T>
[src]
Create a new PendulumError
.
fn kind(&self) -> &PendulumErrorKind
[src]
Retrieve the error kind of the PendulumError
.
fn item(&self) -> &T
[src]
Retrieve the item contained within the error.
fn into_parts(self) -> (T, PendulumErrorKind)
[src]
Break the error down into its parts.