From fdc63e730f91a4605ed4ff96a908e1f5e822d1bb Mon Sep 17 00:00:00 2001 From: Marcos Magueta Date: Mon, 20 Apr 2026 21:55:07 -0300 Subject: New Server & Manipulation refactor Co-authored-by: Estevan Castilho --- lib/ddl/executor.ml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/ddl') diff --git a/lib/ddl/executor.ml b/lib/ddl/executor.ml index d374ffe..9df878d 100644 --- a/lib/ddl/executor.ml +++ b/lib/ddl/executor.ml @@ -3,15 +3,15 @@ module Make (Storage : Management.Physical.S) = struct type error = | ParseError of string - | ManipulationError of Manipulation.error + | ManipulationError of Error.t | RelationNotFound of string let sexp_of_error e = let open Sexplib.Sexp in match e with - | ParseError s -> List [ Atom "parse-error"; Atom s ] - | ManipulationError e -> Manipulation.sexp_of_error e - | RelationNotFound s -> List [ Atom "relation-not-found"; Atom s ] + | ParseError s -> List [Atom "parse-error"; Atom s] + | ManipulationError e -> Error.sexp_of_error e + | RelationNotFound s -> List [Atom "relation-not-found"; Atom s] let ( let* ) = Result.bind let wrap_manip r = Result.map_error (fun e -> ManipulationError e) r -- cgit v1.2.3