Enum pconvert_rust::errors::PConvertError
source · pub enum PConvertError {
ArgumentError(String),
UnsupportedImageTypeError,
IOError(Error),
ImageLibError(ImageError),
}Expand description
Error types used across this crate.
Variants§
Trait Implementations§
source§impl Debug for PConvertError
impl Debug for PConvertError
source§impl Display for PConvertError
impl Display for PConvertError
source§impl Error for PConvertError
impl Error for PConvertError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for PConvertError
impl From<Error> for PConvertError
source§fn from(err: Error) -> PConvertError
fn from(err: Error) -> PConvertError
Converts to this type from the input type.
source§impl From<ImageError> for PConvertError
impl From<ImageError> for PConvertError
source§fn from(err: ImageError) -> PConvertError
fn from(err: ImageError) -> PConvertError
Converts to this type from the input type.
source§impl From<PConvertError> for JsValue
impl From<PConvertError> for JsValue
source§fn from(err: PConvertError) -> JsValue
fn from(err: PConvertError) -> JsValue
Converts to this type from the input type.
source§impl From<PConvertError> for PyErr
impl From<PConvertError> for PyErr
source§fn from(err: PConvertError) -> PyErr
fn from(err: PConvertError) -> PyErr
Converts to this type from the input type.