dbuenzli / fmt

OCaml Format pretty-printer combinators
http://erratique.ch/software/fmt
ISC License
71 stars 26 forks source link

Fmt.exn #15

Closed edwintorok closed 8 years ago

edwintorok commented 8 years ago

Printexc.to_string and Printexc.raw_backtrace_to_string in combination with Fmt.lines can already be used to perform this, but may be convenient if Fmt already provided this. The exception message could also be optionally highlighted with a Fmt.style (e.g. bold).