Error reports any error that has occurred during a previous Write or Flush.
()
| 115 | |
| 116 | // Error reports any error that has occurred during a previous Write or Flush. |
| 117 | func (w *Writer) Error() error { |
| 118 | _, err := w.w.Write(nil) |
| 119 | return err |
| 120 | } |
| 121 | |
| 122 | // WriteAll writes multiple CSV records to w using Write and then calls Flush. |
| 123 | func (w *Writer) WriteAll(records [][]string) error { |