pub enum Error {
SchemeNotFound(String),
MissingBinding {
scheme: String,
slot: String,
},
Scheme(Error),
Dung(Error),
Bipolar(Error),
Weighted(Error),
WeightedBipolar(Error),
MissingProposerBinding {
affordance_name: String,
},
}Expand description
Errors that can occur during argumentation bridge operations.
Variants§
SchemeNotFound(String)
A requested scheme key was not found in the registry.
MissingBinding
A required slot binding was missing when instantiating a scheme.
Fields
Scheme(Error)
An error propagated from the argumentation-schemes layer.
Dung(Error)
An error propagated directly from the core Dung/ASPIC+ layer.
Bipolar(Error)
An error propagated from the argumentation-bipolar layer.
Weighted(Error)
An error propagated from the argumentation-weighted layer.
WeightedBipolar(Error)
An error propagated from the argumentation-weighted-bipolar layer.
MissingProposerBinding
An affordance passed to StateAcceptanceEval has no "self"
binding, so the bridge cannot identify the proposer. The eval
defaulted to accept for this action. Surfaces via
crate::state::EncounterArgumentationState::drain_errors.
Consumers who use a non-"self" proposer slot name should wrap
StateAcceptanceEval with a custom implementation.