Documentation
¶
Index ¶
- Variables
- type Error
- func (x *Error) ClearArgs()
- func (x *Error) ClearErrorCode()
- func (x *Error) ClearHttpStatus()
- func (x *Error) GetArgs() *structpb.ListValue
- func (x *Error) GetErrorCode() int32
- func (x *Error) GetHttpStatus() int32
- func (x *Error) HasArgs() bool
- func (x *Error) HasErrorCode() bool
- func (x *Error) HasHttpStatus() bool
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (x *Error) SetArgs(v *structpb.ListValue)
- func (x *Error) SetErrorCode(v int32)
- func (x *Error) SetHttpStatus(v int32)
- func (x *Error) String() string
- type Error_builder
Constants ¶
This section is empty.
Variables ¶
View Source
var File_prostack_error_v1_error_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
Error
func (*Error) ClearErrorCode ¶
func (x *Error) ClearErrorCode()
func (*Error) ClearHttpStatus ¶
func (x *Error) ClearHttpStatus()
func (*Error) GetErrorCode ¶
func (*Error) GetHttpStatus ¶
func (*Error) HasErrorCode ¶
func (*Error) HasHttpStatus ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
func (*Error) SetErrorCode ¶
func (*Error) SetHttpStatus ¶
type Error_builder ¶
type Error_builder struct {
ErrorCode *int32
Args *structpb.ListValue
HttpStatus *int32
// contains filtered or unexported fields
}
func (Error_builder) Build ¶
func (b0 Error_builder) Build() *Error
Click to show internal directories.
Click to hide internal directories.