Skip to content

Commit

Permalink
Make error type public
Browse files Browse the repository at this point in the history
  • Loading branch information
AZWN committed Oct 30, 2024
1 parent 2bb70ff commit 8ba0cb7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scopegraphs/src/containers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
//! Using these interfaces, the resolution algorithms can deal with custom behavior introduced
//! by [`Completeness`](crate::completeness::Completeness) implementations.

enum ResolveOrUserError<RE, UE> {
/// Union of errors during resolution (i.e., delays) and error during predicate evaluation.
pub enum ResolveOrUserError<RE, UE> {
/// Resolution error.
Resolve(RE),
/// User error (predicates)
User(UE),
}

Expand Down

0 comments on commit 8ba0cb7

Please sign in to comment.