pub enum ManifestError {
Show 26 variants
NomeEmpty,
NomeInvalid {
nome: String,
reason: String,
},
NomeChartNameBudgetExceeded {
nome: String,
reason: String,
},
VersaoEmpty,
VersaoInvalid {
versao: String,
reason: String,
},
RestartWindowMalformed {
restart_window: String,
reason: String,
},
CodePathEmpty {
slot: &'static str,
},
CodePathAbsolute {
slot: &'static str,
path: PathBuf,
},
CodePathParentEscape {
slot: &'static str,
path: PathBuf,
},
CodePathNonLispExtension {
slot: &'static str,
path: PathBuf,
},
CodePathNonComputeUnitYamlExtension {
slot: &'static str,
path: PathBuf,
},
CodePathDuplicate {
slot: &'static str,
path: PathBuf,
},
EtiquetaEmpty,
EtiquetaDuplicate {
etiqueta: String,
},
EtiquetaInvalid {
etiqueta: String,
reason: String,
},
AutorEmpty,
AutorDuplicate {
autor: String,
},
AutorInvalid {
autor: String,
reason: String,
},
RepositorioEmpty,
RepositorioInvalid {
repositorio: String,
reason: String,
},
DescricaoEmpty,
DescricaoInvalid {
descricao: String,
reason: String,
},
LicencaEmpty,
LicencaInvalid {
licenca: String,
reason: String,
},
EdicaoEmpty,
EdicaoInvalid {
edicao: String,
reason: String,
},
}Expand description
Errors raised by top-level Caixa validators that don’t fit
the per-axis DepError / crate::AplicacaoError /
crate::SupervisorError / crate::LayoutError families —
the Caixa’s own identity axes (:nome, :versao) that flow
through every substrate-side artifact’s metadata.name /
version derivation.
A future top-level sum (the M4 CaixaError the DepError
doc-comment anticipates) can hold one of each per-axis error
family without reshaping individual diagnostics; this enum is
the first such per-Caixa-identity family.
Variants§
NomeEmpty
NomeInvalid
NomeChartNameBudgetExceeded
VersaoEmpty
VersaoInvalid
RestartWindowMalformed
CodePathEmpty
CodePathAbsolute
CodePathParentEscape
CodePathNonLispExtension
CodePathNonComputeUnitYamlExtension
CodePathDuplicate
EtiquetaEmpty
EtiquetaDuplicate
EtiquetaInvalid
AutorEmpty
AutorDuplicate
AutorInvalid
RepositorioEmpty
RepositorioInvalid
DescricaoEmpty
DescricaoInvalid
LicencaEmpty
LicencaInvalid
EdicaoEmpty
EdicaoInvalid
Trait Implementations§
Source§impl Debug for ManifestError
impl Debug for ManifestError
Source§impl Display for ManifestError
impl Display for ManifestError
impl Eq for ManifestError
Source§impl Error for ManifestError
impl Error for ManifestError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PartialEq for ManifestError
impl PartialEq for ManifestError
impl StructuralPartialEq for ManifestError
Auto Trait Implementations§
impl Freeze for ManifestError
impl RefUnwindSafe for ManifestError
impl Send for ManifestError
impl Sync for ManifestError
impl Unpin for ManifestError
impl UnsafeUnpin for ManifestError
impl UnwindSafe for ManifestError
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.