Skip to main content

ManifestError

Enum ManifestError 

Source
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

Fields

§nome: String
§reason: String
§

NomeChartNameBudgetExceeded

Fields

§nome: String
§reason: String
§

VersaoEmpty

§

VersaoInvalid

Fields

§versao: String
§reason: String
§

RestartWindowMalformed

Fields

§restart_window: String
§reason: String
§

CodePathEmpty

Fields

§slot: &'static str
§

CodePathAbsolute

Fields

§slot: &'static str
§path: PathBuf
§

CodePathParentEscape

Fields

§slot: &'static str
§path: PathBuf
§

CodePathNonLispExtension

Fields

§slot: &'static str
§path: PathBuf
§

CodePathNonComputeUnitYamlExtension

Fields

§slot: &'static str
§path: PathBuf
§

CodePathDuplicate

Fields

§slot: &'static str
§path: PathBuf
§

EtiquetaEmpty

§

EtiquetaDuplicate

Fields

§etiqueta: String
§

EtiquetaInvalid

Fields

§etiqueta: String
§reason: String
§

AutorEmpty

§

AutorDuplicate

Fields

§autor: String
§

AutorInvalid

Fields

§autor: String
§reason: String
§

RepositorioEmpty

§

RepositorioInvalid

Fields

§repositorio: String
§reason: String
§

DescricaoEmpty

§

DescricaoInvalid

Fields

§descricao: String
§reason: String
§

LicencaEmpty

§

LicencaInvalid

Fields

§licenca: String
§reason: String
§

EdicaoEmpty

§

EdicaoInvalid

Fields

§edicao: String
§reason: String

Trait Implementations§

Source§

impl Debug for ManifestError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for ManifestError

Source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for ManifestError

Source§

impl Error for ManifestError

1.30.0 · Source§

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

👎Deprecated since 1.42.0:

use the Display impl or to_string()

1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl PartialEq for ManifestError

Source§

fn eq(&self, other: &ManifestError) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for ManifestError

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.