aboutsummaryrefslogtreecommitdiffstats
path: root/lib/icl
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2026-04-20 21:55:07 -0300
committerGitHub <noreply@github.com>2026-04-20 21:55:07 -0300
commitfdc63e730f91a4605ed4ff96a908e1f5e822d1bb (patch)
tree36b0a66b81fc201a426171e190975289640cd579 /lib/icl
parentd3708bb28adcd0220142f1890ab96bfd2df637d3 (diff)
downloadSakura-fdc63e730f91a4605ed4ff96a908e1f5e822d1bb.tar.gz
Sakura-fdc63e730f91a4605ed4ff96a908e1f5e822d1bb.zip
New Server & Manipulation refactor
Co-authored-by: Estevan Castilho <tevo@riajuu.net>
Diffstat (limited to '')
-rw-r--r--lib/icl/executor.ml8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/icl/executor.ml b/lib/icl/executor.ml
index 07d0978..6238906 100644
--- a/lib/icl/executor.ml
+++ b/lib/icl/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
| ConversionError 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
- | ConversionError s -> List [ Atom "conversion-error"; Atom s ]
+ | ParseError s -> List [Atom "parse-error"; Atom s]
+ | ManipulationError e -> Error.sexp_of_error e
+ | ConversionError s -> List [Atom "conversion-error"; Atom s]
let wrap_manip = Result.map_error (fun e -> ManipulationError e)