go/src/encoding/gob/error.go

type gobError

// errorf is like error_ but takes Printf-style arguments to construct an error.
// It always prefixes the message with "gob: ".
func errorf(format string, args ...any) {}

// error_ wraps the argument error and uses it as the argument to panic.
func error_(err error) {}

// catchError is meant to be used as a deferred function to turn a panic(gobError) into a
// plain error. It overwrites the error return of the function that deferred its call.
func catchError(err *error) {}