Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrCancelUpstreamKevent represents the error that is returned to denote that event is not going to be passed to upstream components such as aggregator or outputs ErrCancelUpstreamKevent = errors.New("cancel bubbling up the kernel event to upstream components") // ErrFeatureUnsupported is thrown when a certain feature was not triggered via the build flag ErrFeatureUnsupported = func(s string) error { return fmt.Errorf("fibratus was compiled without %s support. Please compile with the '%s' build flag", s, s) } ErrHTTPServerUnavailable = func(transport string, err error) error { return fmt.Errorf("fibratus API server up and running on %s? %v", transport, err) } )
Functions ¶
func IsCancelUpstreamKevent ¶
IsCancelUpstreamKevent determines if the error being passed if of `ErrCancelUpstreamKevent` type.
func IsKparamNotFound ¶
IsKparamNotFound returns true if the error is KparamNotFound.
Types ¶
type ErrKparamNotFound ¶
type ErrKparamNotFound struct {
Name string
}
ErrKparamNotFound is the error is thrown when a parameter is not present in the list of parameters
func (ErrKparamNotFound) Error ¶
func (e ErrKparamNotFound) Error() string
Error returns the error message.
Click to show internal directories.
Click to hide internal directories.