Struct libwgetj::LibwgetjError [] [src]

pub struct LibwgetjError { /* fields omitted */ }

An error thrown by the libwgetj library.

Methods

impl LibwgetjError
[src]

Create a new LibwgetjError with the given description and detail.

Examples

use libwgetj::LibwgetjError;

let err = LibwgetjError::new("Download Failure", "Unable to connect to server!");

Trait Implementations

impl Debug for LibwgetjError
[src]

Formats the value using the given formatter.

impl PartialEq for LibwgetjError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for LibwgetjError
[src]

Formats the value using the given formatter. Read more

impl Error for LibwgetjError
[src]

A short description of the error. Read more

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

impl From<Error> for LibwgetjError
[src]

Performs the conversion.