From: Skgland Date: Mon, 25 Aug 2025 18:14:14 +0000 (+0200) Subject: use representation_error rather than resource_error X-Git-Tag: v0.10.0~11^2~4 X-Git-Url: https://git.sagredo.dev/?a=commitdiff_plain;h=a140720c6f78ffb1c4eb82664dd2e07fb9bdb933;p=scryer-prolog.git use representation_error rather than resource_error --- diff --git a/src/machine/machine_errors.rs b/src/machine/machine_errors.rs index db16d377..22afc03a 100644 --- a/src/machine/machine_errors.rs +++ b/src/machine/machine_errors.rs @@ -603,9 +603,10 @@ impl MachineState { } } + #[allow(dead_code)] // not used when all features are enabled pub(super) fn missing_feature_error(&self, feature: Atom) -> MachineError { let stub = functor!( - atom!("resource_error"), + atom!("representation_error"), [functor( (functor!(atom!("feature"), [atom_as_cell((feature))])) )]