Documentation ¶
Index ¶
- Variables
- type OperationError
- func (m *OperationError) CloneMessageVT() proto.Message
- func (m *OperationError) CloneVT() *OperationError
- func (*OperationError) Descriptor() ([]byte, []int)deprecated
- func (this *OperationError) EqualMessageVT(thatMsg proto.Message) bool
- func (this *OperationError) EqualVT(that *OperationError) bool
- func (x *OperationError) GetDescription() string
- func (x *OperationError) GetGrpcCode() uint32
- func (m *OperationError) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OperationError) MarshalToVT(dAtA []byte) (int, error)
- func (m *OperationError) MarshalVT() (dAtA []byte, err error)
- func (*OperationError) ProtoMessage()
- func (x *OperationError) ProtoReflect() protoreflect.Message
- func (x *OperationError) Reset()
- func (m *OperationError) SizeVT() (n int)
- func (x *OperationError) String() string
- func (m *OperationError) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var File_common_error_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type OperationError ¶
type OperationError struct { // This is the standard gRPC error code for the error. GrpcCode uint32 `protobuf:"varint,1,opt,name=grpc_code,json=grpcCode,proto3" json:"grpc_code,omitempty"` // English language text description of the error. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
OperationError is an error that can be returned from certain APIs to provide more details than a gRPC status error could. This is used mostly in cases when APIs are able to return partial results.
func (*OperationError) CloneMessageVT ¶
func (m *OperationError) CloneMessageVT() proto.Message
func (*OperationError) CloneVT ¶
func (m *OperationError) CloneVT() *OperationError
func (*OperationError) Descriptor
deprecated
func (*OperationError) Descriptor() ([]byte, []int)
Deprecated: Use OperationError.ProtoReflect.Descriptor instead.
func (*OperationError) EqualMessageVT ¶
func (this *OperationError) EqualMessageVT(thatMsg proto.Message) bool
func (*OperationError) EqualVT ¶
func (this *OperationError) EqualVT(that *OperationError) bool
func (*OperationError) GetDescription ¶
func (x *OperationError) GetDescription() string
func (*OperationError) GetGrpcCode ¶
func (x *OperationError) GetGrpcCode() uint32
func (*OperationError) MarshalToSizedBufferVT ¶
func (m *OperationError) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OperationError) MarshalToVT ¶
func (m *OperationError) MarshalToVT(dAtA []byte) (int, error)
func (*OperationError) MarshalVT ¶
func (m *OperationError) MarshalVT() (dAtA []byte, err error)
func (*OperationError) ProtoMessage ¶
func (*OperationError) ProtoMessage()
func (*OperationError) ProtoReflect ¶
func (x *OperationError) ProtoReflect() protoreflect.Message
func (*OperationError) Reset ¶
func (x *OperationError) Reset()
func (*OperationError) SizeVT ¶
func (m *OperationError) SizeVT() (n int)
func (*OperationError) String ¶
func (x *OperationError) String() string
func (*OperationError) UnmarshalVT ¶
func (m *OperationError) UnmarshalVT(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.