use representation_error rather than resource_error

This commit is contained in:
Skgland
2025-08-25 20:14:14 +02:00
committed by Bennet Bleßmann
parent 6f3f66c407
commit a140720c6f

View File

@@ -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))]))
)]