Exn.Backend
Extensible backend-specific exceptions.
val register_pp : (Format.formatter -> t -> bool) -> unit
register_pp pp
adds pp
as a pretty-printer of backend errors.
pp f err
should format err
using f
, if possible. It should return true
on success, or false
if it didn't recognise err
.