[][src]Enum please_pm::ErrorKind

pub enum ErrorKind {
    NoUploadPath,
    MetadataDecodeError,
}

Main error enum for Please Package Manager. For more infomation on each type of Error, please view each of their individual docs.

To easily get a description of each error, please refer to the implament method that's coming soon.

Variants

NoUploadPath

When the publish_package function didn't get a package path and could not determine the current running path. This commonly happens when it is being ran directly from functions instead of the API.

MetadataDecodeError

When the please.toml/please.json file could not be decoded properly. This error should be raised if the toml/json file has incorrect syntax.

Trait Implementations

impl StringRep for ErrorKind[src]

fn str_rep(&self) -> &'static str[src]

Represent an error generically, allowing the use of a str.

fn string_rep(&self) -> String[src]

Represent the ErrorKind as a customised error, allowing more detailed responses at the cost of using a heap-allocated String.

impl Debug for ErrorKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]