pub enum OptionalParserPackManifestError {
Show 13 variants
ManifestTooLarge {
actual: usize,
maximum: usize,
},
InvalidJson {
source: Error,
},
InvalidField {
owner: String,
field: &'static str,
reason: &'static str,
},
BindingMismatch {
field: &'static str,
expected: String,
actual: String,
},
NotSortedUnique {
field: &'static str,
},
CountOutOfBounds {
field: &'static str,
actual: usize,
minimum: usize,
maximum: usize,
},
UnknownOptionalLanguage {
language_id: String,
},
BuiltInOverlap {
language_id: String,
},
UnknownLicense {
language_id: String,
license_id: String,
},
LicenseSourceMismatch {
language_id: String,
license_id: String,
},
DuplicateRuntimeIdentity {
field: &'static str,
value: String,
},
AbiMismatch {
language_id: String,
},
DigestMismatch {
owner: String,
field: &'static str,
},
}Expand description
Failure while parsing or validating an optional parser-pack manifest.
Variants§
ManifestTooLarge
Serialized input exceeded the bounded logical-manifest limit.
InvalidJson
JSON decoding failed before domain validation.
InvalidField
One field violated its local representation contract.
Fields
BindingMismatch
Manifest metadata does not match the selected source or registry authority.
Fields
NotSortedUnique
A deterministic sequence was not strictly sorted and unique.
CountOutOfBounds
Accepted grammar or license membership violated its hard bound.
Fields
UnknownOptionalLanguage
A grammar identity is not a canonical optional registry row.
BuiltInOverlap
An optional row attempted to overlap a default-core capability owner.
UnknownLicense
A grammar references a missing license record.
Fields
LicenseSourceMismatch
A referenced license did not come from the grammar’s pinned source revision.
DuplicateRuntimeIdentity
Two accepted grammars claimed one runtime-loading identity.
AbiMismatch
A grammar ABI claim does not fit the consuming runtime.
DigestMismatch
Embedded content or a canonical capability projection was changed without its digest.