Enum prompto::PromptoError [] [src]

pub enum PromptoError {
    ImageError {
        cause: ImageError,
    IoError {
        cause: Error,

Library errors.


Failure to process an image.

Fields of ImageError

Source of the error.

Failure to load an image.

Fields of IoError

Source of the error.

Problem encountered when adding the image mask.

Image is not an RGB image with an alpha channel.

Trait Implementations

impl Debug for PromptoError

Formats the value using the given formatter.

impl From<ImageError> for PromptoError

Performs the conversion.