From 558c44b9c89a6667aded3718546d67d3de4b2fc8 Mon Sep 17 00:00:00 2001 From: Aron Zwaan Date: Wed, 30 Oct 2024 10:15:05 +0100 Subject: [PATCH] Make error type public --- scopegraphs/src/containers/mod.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scopegraphs/src/containers/mod.rs b/scopegraphs/src/containers/mod.rs index b062555..62ef5a4 100644 --- a/scopegraphs/src/containers/mod.rs +++ b/scopegraphs/src/containers/mod.rs @@ -3,8 +3,11 @@ //! Using these interfaces, the resolution algorithms can deal with custom behavior introduced //! by [`Completeness`](crate::completeness::Completeness) implementations. -enum ResolveOrUserError { +/// Union of errors during resolution (i.e., delays) and error during predicate evaluation. +pub enum ResolveOrUserError { + /// Resolution error. Resolve(RE), + /// User error (predicates) User(UE), }