NewPrettyErrorFormatter creates a new PrettyErrorFormatter.
(w io.Writer, verbose bool)
| 1303 | |
| 1304 | // NewPrettyErrorFormatter creates a new PrettyErrorFormatter. |
| 1305 | func NewPrettyErrorFormatter(w io.Writer, verbose bool) *PrettyErrorFormatter { |
| 1306 | return &PrettyErrorFormatter{ |
| 1307 | w: w, |
| 1308 | verbose: verbose, |
| 1309 | } |
| 1310 | } |
| 1311 | |
| 1312 | type PrettyErrorFormatter struct { |
| 1313 | w io.Writer |
no outgoing calls