(e, verbose_errors: bool = False)
| 1850 | |
| 1851 | |
| 1852 | def exception_formatter(e, verbose_errors: bool = False): |
| 1853 | s = str(e) |
| 1854 | if verbose_errors: |
| 1855 | s += "\n" + diagnostic_output(e.diag) |
| 1856 | return click.style(s, fg="red") |
| 1857 | |
| 1858 | |
| 1859 | def format_output(title, cur, headers, status, settings, explain_mode=False): |
no test coverage detected