SYMBOL INDEX (103 symbols across 10 files) FILE: bench_test.go function noErrors (line 12) | func noErrors(at, depth int) error { function yesErrors (line 19) | func yesErrors(at, depth int) error { function BenchmarkErrors (line 30) | func BenchmarkErrors(b *testing.B) { function BenchmarkStackFormatting (line 65) | func BenchmarkStackFormatting(b *testing.B) { FILE: errors.go function New (line 102) | func New(message string) error { function Errorf (line 112) | func Errorf(format string, args ...interface{}) error { type fundamental (line 120) | type fundamental struct method Error (line 125) | func (f *fundamental) Error() string { return f.msg } method Format (line 127) | func (f *fundamental) Format(s fmt.State, verb rune) { function WithStack (line 145) | func WithStack(err error) error { type withStack (line 155) | type withStack struct method Cause (line 160) | func (w *withStack) Cause() error { return w.error } method Unwrap (line 163) | func (w *withStack) Unwrap() error { return w.error } method Format (line 165) | func (w *withStack) Format(s fmt.State, verb rune) { function Wrap (line 184) | func Wrap(err error, message string) error { function Wrapf (line 201) | func Wrapf(err error, format string, args ...interface{}) error { function WithMessage (line 217) | func WithMessage(err error, message string) error { function WithMessagef (line 229) | func WithMessagef(err error, format string, args ...interface{}) error { type withMessage (line 239) | type withMessage struct method Error (line 244) | func (w *withMessage) Error() string { return w.msg + ": " + w.cause.E... method Cause (line 245) | func (w *withMessage) Cause() error { return w.cause } method Unwrap (line 248) | func (w *withMessage) Unwrap() error { return w.cause } method Format (line 250) | func (w *withMessage) Format(s fmt.State, verb rune) { function Cause (line 275) | func Cause(err error) error { FILE: errors_test.go function TestNew (line 11) | func TestNew(t *testing.T) { function TestWrapNil (line 30) | func TestWrapNil(t *testing.T) { function TestWrap (line 37) | func TestWrap(t *testing.T) { type nilError (line 55) | type nilError struct method Error (line 57) | func (nilError) Error() string { return "nil error" } function TestCause (line 59) | func TestCause(t *testing.T) { function TestWrapfNil (line 109) | func TestWrapfNil(t *testing.T) { function TestWrapf (line 116) | func TestWrapf(t *testing.T) { function TestErrorf (line 135) | func TestErrorf(t *testing.T) { function TestWithStackNil (line 152) | func TestWithStackNil(t *testing.T) { function TestWithStack (line 159) | func TestWithStack(t *testing.T) { function TestWithMessageNil (line 176) | func TestWithMessageNil(t *testing.T) { function TestWithMessage (line 183) | func TestWithMessage(t *testing.T) { function TestWithMessagefNil (line 201) | func TestWithMessagefNil(t *testing.T) { function TestWithMessagef (line 208) | func TestWithMessagef(t *testing.T) { function TestErrorEquality (line 231) | func TestErrorEquality(t *testing.T) { FILE: example_test.go function ExampleNew (line 9) | func ExampleNew() { function ExampleNew_printf (line 16) | func ExampleNew_printf() { function ExampleWithMessage (line 38) | func ExampleWithMessage() { function ExampleWithStack (line 46) | func ExampleWithStack() { function ExampleWithStack_printf (line 54) | func ExampleWithStack_printf() { function ExampleWrap (line 91) | func ExampleWrap() { function fn (line 99) | func fn() error { function ExampleCause (line 106) | func ExampleCause() { function ExampleWrap_extended (line 115) | func ExampleWrap_extended() { function ExampleWrapf (line 145) | func ExampleWrapf() { function ExampleErrorf_extended (line 153) | func ExampleErrorf_extended() { function Example_stackTrace (line 175) | func Example_stackTrace() { function ExampleCause_printf (line 195) | func ExampleCause_printf() { FILE: format_test.go function TestFormatNew (line 12) | func TestFormatNew(t *testing.T) { function TestFormatErrorf (line 42) | func TestFormatErrorf(t *testing.T) { function TestFormatWrap (line 68) | func TestFormatWrap(t *testing.T) { function TestFormatWrapf (line 120) | func TestFormatWrapf(t *testing.T) { function TestFormatWithStack (line 161) | func TestFormatWithStack(t *testing.T) { function TestFormatWithMessage (line 230) | func TestFormatWithMessage(t *testing.T) { function TestFormatGeneric (line 310) | func TestFormatGeneric(t *testing.T) { function wrappedNew (line 363) | func wrappedNew(message string) error { // This function will be mid-sta... function TestFormatWrappedNew (line 367) | func TestFormatWrappedNew(t *testing.T) { function testFormatRegexp (line 387) | func testFormatRegexp(t *testing.T, n int, arg interface{}, format, want... function parseBlocks (line 428) | func parseBlocks(input string, detectStackboundaries bool) ([]string, er... function testFormatCompleteCompare (line 481) | func testFormatCompleteCompare(t *testing.T, n int, arg interface{}, for... type wrapper (line 514) | type wrapper struct function prettyBlocks (line 519) | func prettyBlocks(blocks []string) string { function testGenericRecursive (line 529) | func testGenericRecursive(t *testing.T, beforeErr error, beforeWant []st... FILE: go113.go function Is (line 16) | func Is(err, target error) bool { return stderrors.Is(err, target) } function As (line 31) | func As(err error, target interface{}) bool { return stderrors.As(err, t... function Unwrap (line 36) | func Unwrap(err error) error { FILE: go113_test.go function TestErrorChainCompat (line 12) | func TestErrorChainCompat(t *testing.T) { function TestIs (line 20) | func TestIs(t *testing.T) { type customErr (line 74) | type customErr struct method Error (line 78) | func (c customErr) Error() string { return c.msg } function TestAs (line 80) | func TestAs(t *testing.T) { function TestUnwrap (line 139) | func TestUnwrap(t *testing.T) { FILE: json_test.go function TestFrameMarshalText (line 9) | func TestFrameMarshalText(t *testing.T) { function TestFrameMarshalJSON (line 31) | func TestFrameMarshalJSON(t *testing.T) { FILE: stack.go type Frame (line 15) | type Frame method pc (line 19) | func (f Frame) pc() uintptr { return uintptr(f) - 1 } method file (line 23) | func (f Frame) file() string { method line (line 34) | func (f Frame) line() int { method name (line 44) | func (f Frame) name() string { method Format (line 64) | func (f Frame) Format(s fmt.State, verb rune) { method MarshalText (line 88) | func (f Frame) MarshalText() ([]byte, error) { type StackTrace (line 97) | type StackTrace method Format (line 107) | func (st StackTrace) Format(s fmt.State, verb rune) { method formatSlice (line 128) | func (st StackTrace) formatSlice(s fmt.State, verb rune) { type stack (line 140) | type stack method Format (line 142) | func (s *stack) Format(st fmt.State, verb rune) { method StackTrace (line 155) | func (s *stack) StackTrace() StackTrace { function callers (line 163) | func callers() *stack { function funcname (line 172) | func funcname(name string) string { FILE: stack_test.go type X (line 11) | type X struct method val (line 14) | func (x X) val() Frame { method ptr (line 19) | func (x *X) ptr() Frame { function TestFrameFormat (line 23) | func TestFrameFormat(t *testing.T) { function TestFuncname (line 95) | func TestFuncname(t *testing.T) { function TestStackTrace (line 116) | func TestStackTrace(t *testing.T) { function stackTrace (line 171) | func stackTrace() StackTrace { function TestStackTraceFormat (line 179) | func TestStackTraceFormat(t *testing.T) { function caller (line 244) | func caller() Frame {