kubernetes/vendor/google.golang.org/protobuf/internal/errors/errors.go

var Error

// New formats a string according to the format specifier and arguments and
// returns an error that has a "proto" prefix.
func New(f string, x ...any) error {}

type prefixError

var prefix

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

func (e *prefixError) Unwrap() error {}

// Wrap returns an error that has a "proto" prefix, the formatted string described
// by the format specifier and arguments, and a suffix of err. The error wraps err.
func Wrap(err error, f string, x ...any) error {}

type wrapError

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

func (e *wrapError) Unwrap() error {}

func (e *wrapError) Is(target error) bool {}

func format(f string, x ...any) string {}

func InvalidUTF8(name string) error {}

func RequiredNotSet(name string) error {}

type SizeMismatchError

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

func MismatchedSizeCalculation(calculated, measured int) error {}