go/src/errors/example_test.go

type MyError

func (e MyError) Error() string {}

func oops() error {}

func Example() {}

func ExampleNew() {}

// The fmt package's Errorf function lets us use the package's formatting
// features to create descriptive error messages.
func ExampleNew_errorf() {}

func ExampleJoin() {}

func ExampleIs() {}

func ExampleAs() {}

func ExampleUnwrap() {}