Documentation ¶
Overview ¶
Package errors implements functions to manipulate errors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Error = errors.New("protobuf error")
Error is a sentinel matching all errors produced by this package.
Functions ¶
func InvalidUTF8 ¶
func MismatchedSizeCalculation ¶ added in v1.34.0
func New ¶
New formats a string according to the format specifier and arguments and returns an error that has a "proto" prefix.
func RequiredNotSet ¶
Types ¶
type SizeMismatchError ¶ added in v1.34.0
type SizeMismatchError struct {
Calculated, Measured int
}
func (*SizeMismatchError) Error ¶ added in v1.34.0
func (e *SizeMismatchError) Error() string
Click to show internal directories.
Click to hide internal directories.