{"modulePath":"github.com/cockroachdb/errors","version":"v1.14.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package errorspb\n\n## Variables\n\n```go\nvar (\n\tErrInvalidLengthErrors        = fmt.Errorf(\"proto: negative length found during unmarshaling\")\n\tErrIntOverflowErrors          = fmt.Errorf(\"proto: integer overflow\")\n\tErrUnexpectedEndOfGroupErrors = fmt.Errorf(\"proto: unexpected end of group\")\n)\n```\n\n```go\nvar (\n\tErrInvalidLengthHintdetail        = fmt.Errorf(\"proto: negative length found during unmarshaling\")\n\tErrIntOverflowHintdetail          = fmt.Errorf(\"proto: integer overflow\")\n\tErrUnexpectedEndOfGroupHintdetail = fmt.Errorf(\"proto: unexpected end of group\")\n)\n```\n\n```go\nvar (\n\tErrInvalidLengthMarkers        = fmt.Errorf(\"proto: negative length found during unmarshaling\")\n\tErrIntOverflowMarkers          = fmt.Errorf(\"proto: integer overflow\")\n\tErrUnexpectedEndOfGroupMarkers = fmt.Errorf(\"proto: unexpected end of group\")\n)\n```\n\n```go\nvar (\n\tErrInvalidLengthTags        = fmt.Errorf(\"proto: negative length found during unmarshaling\")\n\tErrIntOverflowTags          = fmt.Errorf(\"proto: integer overflow\")\n\tErrUnexpectedEndOfGroupTags = fmt.Errorf(\"proto: unexpected end of group\")\n)\n```\n\n```go\nvar (\n\tErrInvalidLengthTesting        = fmt.Errorf(\"proto: negative length found during unmarshaling\")\n\tErrIntOverflowTesting          = fmt.Errorf(\"proto: integer overflow\")\n\tErrUnexpectedEndOfGroupTesting = fmt.Errorf(\"proto: unexpected end of group\")\n)\n```\n\n```go\nvar MessageType_name = map[int32]string{\n\t0: \"PREFIX\",\n\t1: \"FULL_MESSAGE\",\n}\n```\n\n```go\nvar MessageType_value = map[string]int32{\n\t\"PREFIX\":       0,\n\t\"FULL_MESSAGE\": 1,\n}\n```\n\n## Types\n\n```go\ntype EncodedError struct {\n\t// Types that are valid to be assigned to Error:\n\t//\n\t//\t*EncodedError_Leaf\n\t//\t*EncodedError_Wrapper\n\tError isEncodedError_Error `protobuf_oneof:\"error\"`\n}\n```\nEncodedError is the wire-encodable representation of an error (or error cause chain).\n\n```go\nfunc (*EncodedError) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *EncodedError) GetError() isEncodedError_Error\n```\n\n```go\nfunc (m *EncodedError) GetLeaf() *EncodedErrorLeaf\n```\n\n```go\nfunc (m *EncodedError) GetWrapper() *EncodedWrapper\n```\n\n```go\nfunc (m *EncodedError) IsSet() bool\n```\nIsSet returns true if the EncodedError contains an error, or false if it is empty.\n\n```go\nfunc (m *EncodedError) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *EncodedError) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *EncodedError) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*EncodedError) ProtoMessage()\n```\n\n```go\nfunc (m *EncodedError) Reset()\n```\n\n```go\nfunc (m *EncodedError) Size() (n int)\n```\n\n```go\nfunc (m *EncodedError) String() string\n```\n\n```go\nfunc (m *EncodedError) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *EncodedError) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *EncodedError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *EncodedError) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*EncodedError) XXX_OneofWrappers() []interface{}\n```\nXXX\\_OneofWrappers is for the internal use of the proto package.\n\n```go\nfunc (m *EncodedError) XXX_Size() int\n```\n\n```go\nfunc (m *EncodedError) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype EncodedErrorDetails struct {\n\t// The original fully qualified error type name (mandatory).\n\t// This is primarily used to print out error details\n\t// in error reports and Format().\n\t//\n\t// It is additionally used to populate the error mark\n\t// below when the family name is not known/set.\n\t// See the `markers` error package and the\n\t// RFC on error handling for details.\n\tOriginalTypeName string `protobuf:\"bytes,1,opt,name=original_type_name,json=originalTypeName,proto3\" json:\"original_type_name,omitempty\"`\n\t// The error mark. This is used to determine error equivalence and\n\t// identifying a decode function.\n\t// See the `markers` error package and the\n\t// RFC on error handling for details.\n\tErrorTypeMark ErrorTypeMark `protobuf:\"bytes,2,opt,name=error_type_mark,json=errorTypeMark,proto3\" json:\"error_type_mark\"`\n\t// The reportable payload (optional), which is as descriptive as\n\t// possible but may not contain PII.\n\t//\n\t// This is extracted automatically using a registered encoder, if\n\t// any, or the SafeDetailer interface.\n\tReportablePayload []string `protobuf:\"bytes,3,rep,name=reportable_payload,json=reportablePayload,proto3\" json:\"reportable_payload,omitempty\"`\n\t// An arbitrary payload that (presumably) encodes the\n\t// native error object. This is also optional.\n\t//\n\t// This is extracted automatically using a registered encoder, if\n\t// any.\n\tFullDetails *types.Any `protobuf:\"bytes,4,opt,name=full_details,json=fullDetails,proto3\" json:\"full_details,omitempty\"`\n}\n```\n\n```go\nfunc (*EncodedErrorDetails) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *EncodedErrorDetails) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *EncodedErrorDetails) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *EncodedErrorDetails) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*EncodedErrorDetails) ProtoMessage()\n```\n\n```go\nfunc (m *EncodedErrorDetails) Reset()\n```\n\n```go\nfunc (m *EncodedErrorDetails) Size() (n int)\n```\n\n```go\nfunc (m *EncodedErrorDetails) String() string\n```\n\n```go\nfunc (m *EncodedErrorDetails) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *EncodedErrorDetails) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *EncodedErrorDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *EncodedErrorDetails) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *EncodedErrorDetails) XXX_Size() int\n```\n\n```go\nfunc (m *EncodedErrorDetails) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype EncodedErrorLeaf struct {\n\t// The main error message (mandatory), that can be printed to human\n\t// users and may contain PII. This contains the value of the leaf\n\t// error's Error(), or using a registered encoder.\n\tMessage string `protobuf:\"bytes,1,opt,name=message,proto3\" json:\"message,omitempty\"`\n\t// The error details.\n\tDetails EncodedErrorDetails `protobuf:\"bytes,2,opt,name=details,proto3\" json:\"details\"`\n\t// multierror_causes is a list of errors that contain the causal tree\n\t// of this leaf. If this field is not empty, then this leaf encodes\n\t// an error from go 1.20 or later that encodes multiple causes in its\n\t// chain.\n\tMultierrorCauses []*EncodedError `protobuf:\"bytes,3,rep,name=multierror_causes,json=multierrorCauses,proto3\" json:\"multierror_causes,omitempty\"`\n}\n```\nEncodedErrorLeaf is the wire-encodable representation of an error leaf or a multi-cause wrapper from go 1.20+\n\n```go\nfunc (*EncodedErrorLeaf) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *EncodedErrorLeaf) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *EncodedErrorLeaf) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *EncodedErrorLeaf) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*EncodedErrorLeaf) ProtoMessage()\n```\n\n```go\nfunc (m *EncodedErrorLeaf) Reset()\n```\n\n```go\nfunc (m *EncodedErrorLeaf) Size() (n int)\n```\n\n```go\nfunc (m *EncodedErrorLeaf) String() string\n```\n\n```go\nfunc (m *EncodedErrorLeaf) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *EncodedErrorLeaf) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *EncodedErrorLeaf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *EncodedErrorLeaf) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *EncodedErrorLeaf) XXX_Size() int\n```\n\n```go\nfunc (m *EncodedErrorLeaf) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype EncodedError_Leaf struct {\n\tLeaf *EncodedErrorLeaf `protobuf:\"bytes,1,opt,name=leaf,proto3,oneof\" json:\"leaf,omitempty\"`\n}\n```\n\n```go\nfunc (m *EncodedError_Leaf) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *EncodedError_Leaf) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *EncodedError_Leaf) Size() (n int)\n```\n\n```go\ntype EncodedError_Wrapper struct {\n\tWrapper *EncodedWrapper `protobuf:\"bytes,2,opt,name=wrapper,proto3,oneof\" json:\"wrapper,omitempty\"`\n}\n```\n\n```go\nfunc (m *EncodedError_Wrapper) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *EncodedError_Wrapper) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *EncodedError_Wrapper) Size() (n int)\n```\n\n```go\ntype EncodedWrapper struct {\n\t// The cause error. Mandatory.\n\tCause EncodedError `protobuf:\"bytes,1,opt,name=cause,proto3\" json:\"cause\"`\n\t// The wrapper message. This could either be a full error message\n\t// that can be printed independently, or a (potentially empty) prefix\n\t// which is printed before the cause's own message to construct the\n\t// full message. This may contain PII.\n\t//\n\t// This is extracted automatically:\n\t//\n\t// - for wrappers that have a registered encoder,\n\t// - otherwise, when the wrapper's Error() has its cause's Error() as suffix.\n\tMessage string `protobuf:\"bytes,2,opt,name=message,proto3\" json:\"message,omitempty\"`\n\t// The error details.\n\tDetails EncodedErrorDetails `protobuf:\"bytes,3,opt,name=details,proto3\" json:\"details\"`\n\t// message_type encodes the interpretation of `message`. Prior\n\t// versions will not set this field and it will be left as `PREFIX`.\n\t// This retains backwards compatibility since the new behavior is\n\t// only enabled when this enum is set to `FULL_MESSAGE`.\n\tMessageType MessageType `protobuf:\"varint,4,opt,name=message_type,json=messageType,proto3,enum=cockroach.errorspb.MessageType\" json:\"message_type,omitempty\"`\n}\n```\nEncodedWrapper is the wire-encodable representation of an error wrapper.\n\n```go\nfunc (*EncodedWrapper) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *EncodedWrapper) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *EncodedWrapper) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *EncodedWrapper) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*EncodedWrapper) ProtoMessage()\n```\n\n```go\nfunc (m *EncodedWrapper) Reset()\n```\n\n```go\nfunc (m *EncodedWrapper) Size() (n int)\n```\n\n```go\nfunc (m *EncodedWrapper) String() string\n```\n\n```go\nfunc (m *EncodedWrapper) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *EncodedWrapper) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *EncodedWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *EncodedWrapper) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *EncodedWrapper) XXX_Size() int\n```\n\n```go\nfunc (m *EncodedWrapper) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ErrnoPayload struct {\n\t// The original errno numeric code.\n\tOrigErrno int64 `protobuf:\"varint,1,opt,name=orig_errno,json=origErrno,proto3\" json:\"orig_errno,omitempty\"`\n\t// The platform where the syscall.Errno was encoded. This\n\t// is needed because the numeric values of syscall.Errno\n\t// have different meanings depending on the platform.\n\t// When decoding, if the arch field does not match we\n\t// use a substitute data type instead.\n\tArch         string `protobuf:\"bytes,2,opt,name=arch,proto3\" json:\"arch,omitempty\"`\n\tIsPermission bool   `protobuf:\"varint,3,opt,name=is_permission,json=isPermission,proto3\" json:\"is_permission,omitempty\"`\n\tIsExist      bool   `protobuf:\"varint,4,opt,name=is_exist,json=isExist,proto3\" json:\"is_exist,omitempty\"`\n\tIsNotExist   bool   `protobuf:\"varint,5,opt,name=is_not_exist,json=isNotExist,proto3\" json:\"is_not_exist,omitempty\"`\n\tIsTimeout    bool   `protobuf:\"varint,6,opt,name=is_timeout,json=isTimeout,proto3\" json:\"is_timeout,omitempty\"`\n\tIsTemporary  bool   `protobuf:\"varint,7,opt,name=is_temporary,json=isTemporary,proto3\" json:\"is_temporary,omitempty\"`\n}\n```\nErrnoPayload is used to encode the payload of syscall.Errno errors.\n\n```go\nfunc (*ErrnoPayload) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ErrnoPayload) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *ErrnoPayload) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *ErrnoPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*ErrnoPayload) ProtoMessage()\n```\n\n```go\nfunc (m *ErrnoPayload) Reset()\n```\n\n```go\nfunc (m *ErrnoPayload) Size() (n int)\n```\n\n```go\nfunc (m *ErrnoPayload) String() string\n```\n\n```go\nfunc (m *ErrnoPayload) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *ErrnoPayload) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ErrnoPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *ErrnoPayload) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ErrnoPayload) XXX_Size() int\n```\n\n```go\nfunc (m *ErrnoPayload) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ErrorTypeMark struct {\n\t// The family name identifies the error type.\n\t// This is equal to original_type_name above in the common case, but\n\t// can be overridden when e.g. the package that defines the type\n\t// changes path.\n\t// This is the field also used for looking up a decode function.\n\tFamilyName string `protobuf:\"bytes,1,opt,name=family_name,json=familyName,proto3\" json:\"family_name,omitempty\"`\n\t// This marker string is used in combination with\n\t// the family name for the purpose of determining error equivalence.\n\t// This can be used to separate error instances that have the same type\n\t// into separate equivalence classes.\n\t// See the `markers` error package and the\n\t// RFC on error handling for details.\n\tExtension string `protobuf:\"bytes,2,opt,name=extension,proto3\" json:\"extension,omitempty\"`\n}\n```\nErrorTypeMark identifies an error type for the purpose of determining error equivalences and looking up decoder functions.\n\n```go\nfunc (*ErrorTypeMark) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m ErrorTypeMark) Equals(o ErrorTypeMark) bool\n```\n\n```go\nfunc (m *ErrorTypeMark) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *ErrorTypeMark) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *ErrorTypeMark) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*ErrorTypeMark) ProtoMessage()\n```\n\n```go\nfunc (m *ErrorTypeMark) Reset()\n```\n\n```go\nfunc (m *ErrorTypeMark) Size() (n int)\n```\n\n```go\nfunc (m *ErrorTypeMark) String() string\n```\n\n```go\nfunc (m *ErrorTypeMark) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *ErrorTypeMark) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ErrorTypeMark) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *ErrorTypeMark) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ErrorTypeMark) XXX_Size() int\n```\n\n```go\nfunc (m *ErrorTypeMark) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype MarkPayload struct {\n\tMsg   string          `protobuf:\"bytes,1,opt,name=msg,proto3\" json:\"msg,omitempty\"`\n\tTypes []ErrorTypeMark `protobuf:\"bytes,2,rep,name=types,proto3\" json:\"types\"`\n}\n```\nMarkPayload is the error payload for a forced marker. See errors/markers/markers.go and the RFC on error handling for details.\n\n```go\nfunc (*MarkPayload) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *MarkPayload) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *MarkPayload) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *MarkPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*MarkPayload) ProtoMessage()\n```\n\n```go\nfunc (m *MarkPayload) Reset()\n```\n\n```go\nfunc (m *MarkPayload) Size() (n int)\n```\n\n```go\nfunc (m *MarkPayload) String() string\n```\n\n```go\nfunc (m *MarkPayload) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *MarkPayload) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *MarkPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *MarkPayload) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *MarkPayload) XXX_Size() int\n```\n\n```go\nfunc (m *MarkPayload) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype MessageType int32\n```\nMessageType encodes information regarding the interpretation of an error's message string.\n\n```go\nconst (\n\t// Keeping zero value as default for backwards compatibility.\n\t// PREFIX is a message that should be prepended to its cause.\n\tMessageType_PREFIX MessageType = 0\n\t// FULL_MESSAGE is a complete error message that can be displayed\n\t// without its cause.\n\tMessageType_FULL_MESSAGE MessageType = 1\n)\n```\n\n```go\nfunc (MessageType) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x MessageType) String() string\n```\n\n```go\ntype StringPayload struct {\n\tMsg string `protobuf:\"bytes,1,opt,name=msg,proto3\" json:\"msg,omitempty\"`\n}\n```\n\n```go\nfunc (*StringPayload) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *StringPayload) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *StringPayload) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *StringPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*StringPayload) ProtoMessage()\n```\n\n```go\nfunc (m *StringPayload) Reset()\n```\n\n```go\nfunc (m *StringPayload) Size() (n int)\n```\n\n```go\nfunc (m *StringPayload) String() string\n```\n\n```go\nfunc (m *StringPayload) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *StringPayload) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *StringPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *StringPayload) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *StringPayload) XXX_Size() int\n```\n\n```go\nfunc (m *StringPayload) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype StringsPayload struct {\n\tDetails []string `protobuf:\"bytes,1,rep,name=details,proto3\" json:\"details,omitempty\"`\n}\n```\nStringsPayload is used to encode the payload of certain error types.\n\n```go\nfunc (*StringsPayload) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *StringsPayload) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *StringsPayload) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *StringsPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*StringsPayload) ProtoMessage()\n```\n\n```go\nfunc (m *StringsPayload) Reset()\n```\n\n```go\nfunc (m *StringsPayload) Size() (n int)\n```\n\n```go\nfunc (m *StringsPayload) String() string\n```\n\n```go\nfunc (m *StringsPayload) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *StringsPayload) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *StringsPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *StringsPayload) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *StringsPayload) XXX_Size() int\n```\n\n```go\nfunc (m *StringsPayload) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype TagPayload struct {\n\tTag   string `protobuf:\"bytes,1,opt,name=tag,proto3\" json:\"tag,omitempty\"`\n\tValue string `protobuf:\"bytes,2,opt,name=value,proto3\" json:\"value,omitempty\"`\n}\n```\n\n```go\nfunc (*TagPayload) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *TagPayload) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *TagPayload) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *TagPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*TagPayload) ProtoMessage()\n```\n\n```go\nfunc (m *TagPayload) Reset()\n```\n\n```go\nfunc (m *TagPayload) Size() (n int)\n```\n\n```go\nfunc (m *TagPayload) String() string\n```\n\n```go\nfunc (m *TagPayload) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *TagPayload) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *TagPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *TagPayload) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *TagPayload) XXX_Size() int\n```\n\n```go\nfunc (m *TagPayload) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype TagsPayload struct {\n\tTags []TagPayload `protobuf:\"bytes,1,rep,name=tags,proto3\" json:\"tags\"`\n}\n```\nTagsPayload is the error payload for a WithContext marker. See errors/contexttags/withcontext.go and the RFC on error handling for details.\n\n```go\nfunc (*TagsPayload) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *TagsPayload) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *TagsPayload) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *TagsPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*TagsPayload) ProtoMessage()\n```\n\n```go\nfunc (m *TagsPayload) Reset()\n```\n\n```go\nfunc (m *TagsPayload) Size() (n int)\n```\n\n```go\nfunc (m *TagsPayload) String() string\n```\n\n```go\nfunc (m *TagsPayload) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *TagsPayload) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *TagsPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *TagsPayload) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *TagsPayload) XXX_Size() int\n```\n\n```go\nfunc (m *TagsPayload) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype TestError struct {\n}\n```\nTestError is meant for use in testing only.\n\n```go\nfunc (*TestError) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (t *TestError) Error() string\n```\nError implements the error interface.\n\n```go\nfunc (m *TestError) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *TestError) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *TestError) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*TestError) ProtoMessage()\n```\n\n```go\nfunc (m *TestError) Reset()\n```\n\n```go\nfunc (m *TestError) Size() (n int)\n```\n\n```go\nfunc (m *TestError) String() string\n```\n\n```go\nfunc (m *TestError) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *TestError) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *TestError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *TestError) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *TestError) XXX_Size() int\n```\n\n```go\nfunc (m *TestError) XXX_Unmarshal(b []byte) error\n```\n\n","path":"github.com/cockroachdb/errors/errorspb","name":"errorspb","synopsis":"","isRedistributable":true}
