Documentation ¶
Index ¶
- Variables
- func NewErrorFromProto(proto *TError) error
- func NewGUIDFromProto(proto *TGuid) guid.GUID
- type TError
- func (*TError) Descriptor() ([]byte, []int)deprecated
- func (x *TError) GetAttributes() *ytree.TAttributeDictionary
- func (x *TError) GetCode() int32
- func (x *TError) GetInnerErrors() []*TError
- func (x *TError) GetMessage() string
- func (*TError) ProtoMessage()
- func (x *TError) ProtoReflect() protoreflect.Message
- func (x *TError) Reset()
- func (x *TError) String() string
- type TGuid
Constants ¶
This section is empty.
Variables ¶
View Source
var File_yt_yt_proto_yt_core_misc_proto_error_proto protoreflect.FileDescriptor
View Source
var File_yt_yt_proto_yt_core_misc_proto_guid_proto protoreflect.FileDescriptor
Functions ¶
func NewErrorFromProto ¶
func NewGUIDFromProto ¶
Types ¶
type TError ¶
type TError struct { Code *int32 `protobuf:"varint,1,req,name=code" json:"code,omitempty"` Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` Attributes *ytree.TAttributeDictionary `protobuf:"bytes,3,opt,name=attributes" json:"attributes,omitempty"` InnerErrors []*TError `protobuf:"bytes,4,rep,name=inner_errors,json=innerErrors" json:"inner_errors,omitempty"` // contains filtered or unexported fields }
func (*TError) Descriptor
deprecated
func (*TError) GetAttributes ¶
func (x *TError) GetAttributes() *ytree.TAttributeDictionary
func (*TError) GetInnerErrors ¶
func (*TError) GetMessage ¶
func (*TError) ProtoMessage ¶
func (*TError) ProtoMessage()
func (*TError) ProtoReflect ¶
func (x *TError) ProtoReflect() protoreflect.Message
type TGuid ¶
type TGuid struct { First *uint64 `protobuf:"fixed64,1,req,name=first" json:"first,omitempty"` Second *uint64 `protobuf:"fixed64,2,req,name=second" json:"second,omitempty"` // contains filtered or unexported fields }
func NewProtoFromGUID ¶
func (*TGuid) Descriptor
deprecated
func (*TGuid) ProtoMessage ¶
func (*TGuid) ProtoMessage()
func (*TGuid) ProtoReflect ¶
func (x *TGuid) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.