proto

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_sampleproject_error_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Error

type Error struct {
	Error  string           `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Detail *structpb.Struct `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"`
	Cause  *Error           `protobuf:"bytes,3,opt,name=cause,proto3" json:"cause,omitempty"`
	// contains filtered or unexported fields
}

func (*Error) Descriptor deprecated

func (*Error) Descriptor() ([]byte, []int)

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetCause

func (x *Error) GetCause() *Error

func (*Error) GetDetail

func (x *Error) GetDetail() *structpb.Struct

func (*Error) GetError

func (x *Error) GetError() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

func (x *Error) ProtoReflect() protoreflect.Message

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL