eh

package
v0.0.0-...-81aed03 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StackSourceFileName     = "source"
	StackSourceLineName     = "line"
	StackSourceFunctionName = "func"
)

Functions

func Errorf

func Errorf(format string, a ...any) error

func ErrorfWithData

func ErrorfWithData(cborData []byte, format string, a ...any) error

func MarshalError

func MarshalError(err error) interface{}

func New

func New(msg string) error

Types

type ErrorWithStructuredData

type ErrorWithStructuredData interface {
	error
	SetCBORStructuredData(p []byte)
	GetCBORStructuredData() []byte
}

type FrameTypeE

type FrameTypeE uint8
const (
	FrameTypeNil    FrameTypeE = 0
	FrameTypeGoPath FrameTypeE = 1
	FrameTypeGoRoot FrameTypeE = 2
	FrameTypeOther  FrameTypeE = 3
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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