Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrEmptyData gets returns when monitoring payload contained no data ErrEmptyData = errors.New("empty data") // ErrUnknownPerfEvent is returned if the monitor payload has an unknown // perf event record type ErrUnknownPerfEvent = errors.New("unknown perf event record type") )
Functions ¶
func IsErrInvalidType ¶
IsErrInvalidType returns true if the given error is type of ErrInvalidType
func NewErrInvalidType ¶
NewErrInvalidType returns a new ErrInvalidType
Types ¶
type ErrInvalidType ¶
type ErrInvalidType struct {
// contains filtered or unexported fields
}
ErrInvalidType specifies when it was given a packet type that was not possible to be decoded by the decoder.
func (ErrInvalidType) Error ¶
func (e ErrInvalidType) Error() string
Click to show internal directories.
Click to hide internal directories.