go/pkg/mod/golang.org/x/[email protected]/fmt_test.go

func TestErrorf(t *testing.T) {}

func TestErrorFormatter(t *testing.T) {}

func TestAdaptor(t *testing.T) {}

var _

type wrapped

func (e wrapped) Error() string {}

func (e wrapped) Format(s fmt.State, verb rune) {}

func (e wrapped) FormatError(p xerrors.Printer) (next error) {}

var _

type detailed

func (e detailed) Error() string {}

func (detailed) FormatError(p xerrors.Printer) (next error) {}

type withFrameAndMore

func (e *withFrameAndMore) Error() string {}

func (e *withFrameAndMore) Format(s fmt.State, v rune) {}

func (e *withFrameAndMore) FormatError(p xerrors.Printer) (next error) {}

type spurious

func (e spurious) Error() string {}

// move to 1_12 test file
func (e spurious) Format(s fmt.State, verb rune) {}

func (e spurious) FormatError(p xerrors.Printer) (next error) {}

type oneNewline

func (e *oneNewline) Error() string {}

func (e *oneNewline) Format(s fmt.State, verb rune) {}

func (e *oneNewline) FormatError(p xerrors.Printer) (next error) {}

type newlineAtEnd

func (e *newlineAtEnd) Error() string {}

func (e *newlineAtEnd) Format(s fmt.State, verb rune) {}

func (e *newlineAtEnd) FormatError(p xerrors.Printer) (next error) {}

type adapted

func (e adapted) Error() string {}

func (e adapted) Format(s fmt.State, verb rune) {}

func (e adapted) FormatError(p xerrors.Printer) error {}

type formatError

func (e formatError) Error() string {}

func (e formatError) Format(s fmt.State, verb rune) {}

func (e formatError) GoString() string {}

type fmtTwiceErr

func fmtTwice(format string, a ...interface{}

func (e fmtTwiceErr) Error() string {}

func (e fmtTwiceErr) Format(s fmt.State, verb rune) {}

func (e fmtTwiceErr) FormatError(p xerrors.Printer) (next error) {}

func (e fmtTwiceErr) GoString() string {}

type panicValue

func (panicValue) String() string {}

var rePath

var reLine

func cleanPath(s string) string {}

func errToParts(err error) (a []string) {}

type testPrinter

func (p *testPrinter) Print(a ...interface{}

func (p *testPrinter) Printf(format string, a ...interface{}

func (p *testPrinter) Detail() bool {}