#[non_exhaustive]pub enum ResolutionError {
SettingsWithoutSelection,
UnknownProfile(ProfileSelection),
UnknownSetting {
key: String,
location: SettingLocation,
},
WrongScope {
setting: SettingId,
expected: SettingScope,
found: SettingScope,
location: SettingLocation,
},
NotApplicable {
setting: SettingId,
location: SettingLocation,
},
InvalidSettingValue {
setting: SettingId,
location: SettingLocation,
reason: InvalidSettingReason,
},
MissingRequiredSetting {
setting: SettingId,
location: SettingLocation,
},
UnacceptedInputFormat {
selection: ProfileSelection,
format: SourceFormatV1,
},
ResolvedSettingsContract(EngineContractError),
}Expand description
Typed failure from static or input-dependent engine resolution.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
SettingsWithoutSelection
Settings were declared without selecting an engine profile.
UnknownProfile(ProfileSelection)
No exact registry tuple matches the selection.
UnknownSetting
A setting key is not in the selected profile’s descriptor inventory.
WrongScope
A known setting was declared in the wrong scope.
Fields
expected: SettingScopeDescriptor scope.
found: SettingScopeSupplied scope.
location: SettingLocationDeclaration location.
NotApplicable
A known descriptor genuinely does not apply to the selected profile.
InvalidSettingValue
A setting value is outside its closed descriptor domain.
Fields
location: SettingLocationDeclaration location.
reason: InvalidSettingReasonExact domain/path failure.
MissingRequiredSetting
One required-without-default setting was not materialized.
Fields
location: SettingLocationDocument or exact real clip requiring the setting.
UnacceptedInputFormat
The authoritative input container is outside the selected V1 boundary.
Fields
selection: ProfileSelectionSelected exact profile tuple.
format: SourceFormatV1Authoritative loader-owned input format.
ResolvedSettingsContract(EngineContractError)
Fully materialized settings exceeded or contradicted the bounded V1 engine contract.
Trait Implementations§
Source§impl Clone for ResolutionError
impl Clone for ResolutionError
Source§fn clone(&self) -> ResolutionError
fn clone(&self) -> ResolutionError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ResolutionError
impl Debug for ResolutionError
Source§impl Display for ResolutionError
impl Display for ResolutionError
impl Eq for ResolutionError
Source§impl Error for ResolutionError
impl Error for ResolutionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()