Module Astral_internal.Exceptions

exception UnsupportedFragment of string * string

This exception is raised when unsupported fragment is detected.

exception UnknownResult of string * string
exception InternalError of Stdlib.Printexc.raw_backtrace * string * string

This exception represents an internal error. It should not be catched inside Astral library.

val unknown_result : reason:string -> ?details:string -> _
val unsupported_fragment : reason:string -> ?details:string -> _
val internal_error : reason:string -> ?details:string -> _
val pretty_internal_error : ?trace:Stdlib.Printexc.raw_backtrace -> string -> details:string -> unit