Enum npm_parser::Error
source · [−]pub enum Error {
SerdeJsonError(Error),
SerdePathError(Error<Error>),
Utf8Error(Utf8Error),
StdIoError(Error),
}Expand description
Error type for npm_parser
Variants
SerdeJsonError(Error)
This means something went wrong when we were parsing the JSON output of the program
SerdePathError(Error<Error>)
This is a wrapped serde_json error which provides a path to the location where the error occurred
Utf8Error(Utf8Error)
This means the output of the program contained some string that was not valid UTF-8
StdIoError(Error)
This is likely to be an error when executing the program using std::process
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more