OCaml view on JS exceptions
type t
val name : t -> string
val message : t -> string
val stack : t -> string option
val to_string : t -> string
exception Error of t