Enum tekton::errors::TektonError
source · pub enum TektonError {
Reason(String),
SwitchModes(bool),
}
Variants§
Reason(String)
An error with a custom message as a String
SwitchModes(bool)
An ‘error state’ that indicates the file needs to process with the multi_prefix
support
Trait Implementations§
source§impl Clone for TektonError
impl Clone for TektonError
source§fn clone(&self) -> TektonError
fn clone(&self) -> TektonError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TektonError
impl Debug for TektonError
source§impl Display for TektonError
impl Display for TektonError
source§impl Error for TektonError
impl Error for TektonError
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 TektonError
impl From<Error> for TektonError
source§impl PartialEq<TektonError> for TektonError
impl PartialEq<TektonError> for TektonError
source§fn eq(&self, other: &TektonError) -> bool
fn eq(&self, other: &TektonError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.