BinaryTerminalError reports that binary content was about to be written to a terminal, where it is unreadable and may carry control bytes.
| 38 | // BinaryTerminalError reports that binary content was about to be written to a |
| 39 | // terminal, where it is unreadable and may carry control bytes. |
| 40 | type BinaryTerminalError struct { |
| 41 | MIME string |
| 42 | } |
| 43 | |
| 44 | func (e BinaryTerminalError) Error() string { |
| 45 | return fmt.Sprintf("refusing to output binary content (%s) to the terminal", e.MIME) |
nothing calls this directly
no outgoing calls
no test coverage detected