Versions in this module Expand all Collapse all v0 v0.1.0 May 31, 2018 Changes in this version + var PanicError = errtest.NewPanicError("user") + func RunCloudStorage(t *testing.T, cfg *errtest.Config, f func(t *CloudStorage) error) + func RunPipeConvert(t *testing.T, cfg *errtest.Config, f func(t *PipeConvert, r Reader) error) + func RunTrickyCatch(t *testing.T, cfg *errtest.Config, f func(t *TrickyCatch) error) + type Aborter interface + Abort func(err error) + type Client interface + type CloudStorage struct + func (c *CloudStorage) Copy(w Writer, r Reader) (n int, err error) + func (c *CloudStorage) NewClient() (Client, error) + func (c *CloudStorage) NewReader() (Reader, error) + func (c *CloudStorage) NewWriter(client Client) Writer + type PipeConvert struct + func (p *PipeConvert) NewScanner(r Reader) Value + func (p *PipeConvert) Pipe() (Reader, Writer) + func (p *PipeConvert) Scan(scanner Value) bool + func (p *PipeConvert) ScanErr(scan Value) error + func (p *PipeConvert) Wait(r Reader) error + func (p *PipeConvert) WriteScanned(w Writer, scanner Value) error + type Reader interface + type TrickyCatch struct + func (t *TrickyCatch) NewWrapper(w Writer) (Writer, error) + func (t *TrickyCatch) NewWriter() (Writer, error) + func (t *TrickyCatch) WriteSomething(w Writer) error + type Value interface + type Writer interface + CloseWithError func(err error) error