plebeia

Functional storage using Merkle Patricia tree
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library plebeia
Module Plebeia . Error
type t = ..
type t +=
| String of string(*

Unstructured string error message

*)

2 Errors are show-able.

val register_printer : ( t -> string option ) -> unit
val show : t -> string
val pp : Stdlib.Format.formatter -> t -> unit

2 Handling

exception Error of t
val raise : t -> 'error

Raise an Error t error of the given t

val from_Ok : ( 'a, t ) Stdlib.result -> 'a

Raise an exception when it is Error t