Struct puppetfile::PuppetfileError [] [src]

pub struct PuppetfileError {
    pub kind: ErrorKind,
    pub desc: String,
}

represents an error while checking the version published on the forge

Fields

kind

type of the error

desc

short description

Trait Implementations

impl Display for PuppetfileError

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

impl From<Error> for PuppetfileError

fn from(err: Error) -> PuppetfileError

impl From<Error> for PuppetfileError

fn from(err: Error) -> PuppetfileError

impl From<SemVerError> for PuppetfileError

fn from(err: SemVerError) -> PuppetfileError

impl From<ParseError> for PuppetfileError

fn from(err: ParseError) -> PuppetfileError

impl From<DecoderError> for PuppetfileError

fn from(err: DecoderError) -> PuppetfileError

impl From<(ErrorKind, String)> for PuppetfileError

fn from((kind, desc): (ErrorKind, String)) -> PuppetfileError

impl Error for PuppetfileError

fn description(&self) -> &str

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

Derived Implementations

impl Debug for PuppetfileError

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