print package:ghc

Print the all diagnostics in a SourceError. Useful inside exception handlers.
Given a bag of diagnostics, turn them into an exception if any has SevError, or print them out otherwise.
Like logInfoTcRn, but for user consumption
The analog of printDoc_ for SDoc, which tries to make sure the terminal doesn't get screwed up by the ANSI color codes if an exception is thrown during pretty-printing.
Like printSDoc but appends an extra newline.