Enum pencil::PencilError [] [src]

pub enum PencilError {
    PenHTTPError(HTTPError),
    PenUserError(UserError),
}

The Pencil Error type.

Variants

PenHTTPError
PenUserError

Trait Implementations

impl From<HTTPError> for PencilError

fn from(err: HTTPError) -> PencilError

impl From<UserError> for PencilError

fn from(err: UserError) -> PencilError

impl Display for PencilError

fn fmt(&self, f: &mut Formatter) -> Result

impl Error for PencilError

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

impl From<RenderError> for PencilError

fn from(err: RenderError) -> PencilError

Derived Implementations

impl Debug for PencilError

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for PencilError

fn clone(&self) -> PencilError

fn clone_from(&mut self, source: &Self)