pub enum Error<E> {
Show 16 variants
HandleLayerError(HandleLayerError),
ProcessTypeError(ProcessTypeError),
StackIdError(StackIdError),
CannotDetermineAppDirectory(Error),
CannotDetermineBuildpackDirectory(VarError),
CannotDetermineStackId(VarError),
CannotCreatePlatformFromPath(Error),
CannotReadBuildpackPlan(TomlFileError),
CannotReadBuildpackDescriptor(TomlFileError),
CannotReadStore(TomlFileError),
CannotWriteBuildPlan(TomlFileError),
CannotWriteLaunch(TomlFileError),
CannotWriteStore(TomlFileError),
CannotWriteBuildSbom(Error),
CannotWriteLaunchSbom(Error),
BuildpackError(E),
}Expand description
An error that occurred during buildpack execution.
Variants§
HandleLayerError(HandleLayerError)
ProcessTypeError(ProcessTypeError)
StackIdError(StackIdError)
CannotDetermineAppDirectory(Error)
CannotDetermineBuildpackDirectory(VarError)
CannotDetermineStackId(VarError)
CannotCreatePlatformFromPath(Error)
CannotReadBuildpackPlan(TomlFileError)
CannotReadBuildpackDescriptor(TomlFileError)
CannotReadStore(TomlFileError)
CannotWriteBuildPlan(TomlFileError)
CannotWriteLaunch(TomlFileError)
CannotWriteStore(TomlFileError)
CannotWriteBuildSbom(Error)
CannotWriteLaunchSbom(Error)
BuildpackError(E)
Trait Implementations§
source§impl<E> Error for Error<E>where
Self: Debug + Display,
impl<E> Error for Error<E>where
Self: Debug + Display,
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<E> From<ProcessTypeError> for Error<E>
impl<E> From<ProcessTypeError> for Error<E>
source§fn from(source: ProcessTypeError) -> Self
fn from(source: ProcessTypeError) -> Self
Converts to this type from the input type.
source§impl<E> From<StackIdError> for Error<E>
impl<E> From<StackIdError> for Error<E>
source§fn from(source: StackIdError) -> Self
fn from(source: StackIdError) -> Self
Converts to this type from the input type.