Documentation ¶
Index ¶
- Variables
- type CallFrame
- type CodeLocation
- func (*CodeLocation) Descriptor() ([]byte, []int)deprecated
- func (x *CodeLocation) GetCol() uint32
- func (x *CodeLocation) GetName() string
- func (x *CodeLocation) GetPath() string
- func (x *CodeLocation) GetRow() uint32
- func (*CodeLocation) ProtoMessage()
- func (x *CodeLocation) ProtoReflect() protoreflect.Message
- func (x *CodeLocation) Reset()
- func (x *CodeLocation) String() string
- type Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (x *Error) GetCallstack() []*CallFrame
- func (x *Error) GetExtra() map[string]string
- func (x *Error) GetValue() *v1.Value
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (x *Error) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_autokitteh_program_v1_program_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CallFrame ¶
type CallFrame struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Location *CodeLocation `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
func (*CallFrame) Descriptor
deprecated
func (*CallFrame) GetLocation ¶
func (x *CallFrame) GetLocation() *CodeLocation
func (*CallFrame) ProtoMessage ¶
func (*CallFrame) ProtoMessage()
func (*CallFrame) ProtoReflect ¶
func (x *CallFrame) ProtoReflect() protoreflect.Message
type CodeLocation ¶
type CodeLocation struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Row uint32 `protobuf:"varint,2,opt,name=row,proto3" json:"row,omitempty"` Col uint32 `protobuf:"varint,3,opt,name=col,proto3" json:"col,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
A specific location in code. Might be used for errors, entry points, etc. Examples:
foo.kitteh foo.kitteh:12.34 foo.kitteh:OnSlack foo.kitteh:12.34,OnSlack
func (*CodeLocation) Descriptor
deprecated
func (*CodeLocation) Descriptor() ([]byte, []int)
Deprecated: Use CodeLocation.ProtoReflect.Descriptor instead.
func (*CodeLocation) GetCol ¶
func (x *CodeLocation) GetCol() uint32
func (*CodeLocation) GetName ¶
func (x *CodeLocation) GetName() string
func (*CodeLocation) GetPath ¶
func (x *CodeLocation) GetPath() string
func (*CodeLocation) GetRow ¶
func (x *CodeLocation) GetRow() uint32
func (*CodeLocation) ProtoMessage ¶
func (*CodeLocation) ProtoMessage()
func (*CodeLocation) ProtoReflect ¶
func (x *CodeLocation) ProtoReflect() protoreflect.Message
func (*CodeLocation) Reset ¶
func (x *CodeLocation) Reset()
func (*CodeLocation) String ¶
func (x *CodeLocation) String() string
type Error ¶
type Error struct { Value *v1.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // [0] is outermost. Callstack []*CallFrame `protobuf:"bytes,2,rep,name=callstack,proto3" json:"callstack,omitempty"` Extra map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) GetCallstack ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.