Enum puppetfile::ErrorKind [] [src]

pub enum ErrorKind {
    HttpError(Error),
    IoError(Error),
    SemverError(SemVerError),
    JsonError(DecoderError),
    UrlBuilding,
    ParseError(ParseError),
}

represents the type of error of a PuppetfileError

Variants

HttpError

an HTTP error

IoError

an IO error

SemverError

an error while parsing the version

JsonError

an error while parsing JSON

UrlBuilding

an error while building the forge URL

ParseError

an HTTP error

Trait Implementations

Derived Implementations

impl Debug for ErrorKind

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