aboutsummaryrefslogtreecommitdiffstats
path: root/lib/error.ml
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2026-05-11 23:10:27 -0300
committerGitHub <noreply@github.com>2026-05-11 23:10:27 -0300
commite3d3e20dfea253de291d5b31059cd55c0eaabf02 (patch)
tree82cf0d46ea3768171c8a87630cab5011d1ccf2a1 /lib/error.ml
parent4fdf3392868c72ff4c33b70d165a177e97f2fece (diff)
downloadSakura-e3d3e20dfea253de291d5b31059cd55c0eaabf02.tar.gz
Sakura-e3d3e20dfea253de291d5b31059cd55c0eaabf02.zip
Multigroup unified reference for hierarchical access
Diffstat (limited to '')
-rw-r--r--lib/error.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/error.ml b/lib/error.ml
index cf02845..6215320 100644
--- a/lib/error.ml
+++ b/lib/error.ml
@@ -11,8 +11,8 @@ type t =
(* TODO: think of a better way to manage and serialize sublanguage errors *)
| SublanguageError of Sexplib.Sexp.t
| Conflict of {
- old_db : Management.Database.t;
- new_db : Management.Database.t;
+ old_db : Management.Multigroup.multigroup;
+ new_db : Management.Multigroup.multigroup;
}
| SyntaxError of string
| MultigroupNotFound of string
@@ -39,4 +39,4 @@ let sexp_of_error e =
| MultigroupNotFound s -> error "multigroup-not-found" [ "name" <+> Atom s ]
| Conflict { old_db; new_db } ->
error "conflict"
- [ "old-hash" <+> Atom old_db.hash; "new-hash" <+> Atom new_db.hash ]
+ [ "old-hash" <+> Atom old_db#hash; "new-hash" <+> Atom new_db#hash ]