Wrap TerminalFormatter in exception.