pub enum ErrorKind {
NoUploadPath,
MetadataDecodeError,
}
Expand description
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§
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more