terrorsproto

package
v0.0.0-...-37a0a4a Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2025 License: MIT Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoolValue

type BoolValue struct {
	Value                bool     `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BoolValue) Descriptor

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

func (*BoolValue) GetValue

func (m *BoolValue) GetValue() bool

func (*BoolValue) ProtoMessage

func (*BoolValue) ProtoMessage()

func (*BoolValue) Reset

func (m *BoolValue) Reset()

func (*BoolValue) String

func (m *BoolValue) String() string

func (*BoolValue) XXX_DiscardUnknown

func (m *BoolValue) XXX_DiscardUnknown()

func (*BoolValue) XXX_Marshal

func (m *BoolValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BoolValue) XXX_Merge

func (m *BoolValue) XXX_Merge(src proto.Message)

func (*BoolValue) XXX_Size

func (m *BoolValue) XXX_Size() int

func (*BoolValue) XXX_Unmarshal

func (m *BoolValue) XXX_Unmarshal(b []byte) error

type Error

type Error struct {
	Code    string            `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string            `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Params  map[string]string `` /* 153-byte string literal not displayed */
	Stack   []*StackFrame     `protobuf:"bytes,4,rep,name=stack,proto3" json:"stack,omitempty"`
	// We don't use google.protobuf.BoolValue as it doesn't serialize properly without jsonpb.
	Retryable            *BoolValue `protobuf:"bytes,5,opt,name=retryable,proto3" json:"retryable,omitempty"`
	MarshalCount         int32      `protobuf:"varint,6,opt,name=marshal_count,json=marshalCount,proto3" json:"marshal_count,omitempty"`
	MessageChain         []string   `protobuf:"bytes,7,rep,name=message_chain,json=messageChain,proto3" json:"message_chain,omitempty"`
	Unexpected           *BoolValue `protobuf:"bytes,8,opt,name=unexpected,proto3" json:"unexpected,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*Error) Descriptor

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

func (*Error) GetCode

func (m *Error) GetCode() string

func (*Error) GetMarshalCount

func (m *Error) GetMarshalCount() int32

func (*Error) GetMessage

func (m *Error) GetMessage() string

func (*Error) GetMessageChain

func (m *Error) GetMessageChain() []string

func (*Error) GetParams

func (m *Error) GetParams() map[string]string

func (*Error) GetRetryable

func (m *Error) GetRetryable() *BoolValue

func (*Error) GetStack

func (m *Error) GetStack() []*StackFrame

func (*Error) GetUnexpected

func (m *Error) GetUnexpected() *BoolValue

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) String

func (m *Error) String() string

func (*Error) XXX_DiscardUnknown

func (m *Error) XXX_DiscardUnknown()

func (*Error) XXX_Marshal

func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Error) XXX_Merge

func (m *Error) XXX_Merge(src proto.Message)

func (*Error) XXX_Size

func (m *Error) XXX_Size() int

func (*Error) XXX_Unmarshal

func (m *Error) XXX_Unmarshal(b []byte) error

type StackFrame

type StackFrame struct {
	Filename             string   `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
	Line                 int32    `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
	Method               string   `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StackFrame) Descriptor

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

func (*StackFrame) GetFilename

func (m *StackFrame) GetFilename() string

func (*StackFrame) GetLine

func (m *StackFrame) GetLine() int32

func (*StackFrame) GetMethod

func (m *StackFrame) GetMethod() string

func (*StackFrame) ProtoMessage

func (*StackFrame) ProtoMessage()

func (*StackFrame) Reset

func (m *StackFrame) Reset()

func (*StackFrame) String

func (m *StackFrame) String() string

func (*StackFrame) XXX_DiscardUnknown

func (m *StackFrame) XXX_DiscardUnknown()

func (*StackFrame) XXX_Marshal

func (m *StackFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StackFrame) XXX_Merge

func (m *StackFrame) XXX_Merge(src proto.Message)

func (*StackFrame) XXX_Size

func (m *StackFrame) XXX_Size() int

func (*StackFrame) XXX_Unmarshal

func (m *StackFrame) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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