From a140720c6f78ffb1c4eb82664dd2e07fb9bdb933 Mon Sep 17 00:00:00 2001 From: Skgland Date: Mon, 25 Aug 2025 20:14:14 +0200 Subject: [PATCH] use representation_error rather than resource_error --- src/machine/machine_errors.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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))])) )] -- 2.54.0