package
7.17.28
Repository: https://github.com/elastic/beats.git
Documentation: pkg.go.dev

# Functions

As is just a helper so user dont have to use multiple imports for errors.
Is is just a helper so user dont have to use multiple imports for errors.
M creates a meta entry for an error.
New constructs an Agent Error based on provided parameteres.
Unwrap is just a helper so user dont have to use multiple imports for errors.

# Constants

MetaKeyAppID is a metadata key used to identify application related to error.
MetaKeyAppName is a metadata key used to specify application name related to error.
MetaKeyPath is a metadata key used used in filesystem errors.
MetaKeyURI is a metadata key used in network related errors.
TypeApplication is an error describing errors related to application state.
TypeApplicationCrash is an error describing unexpected application crash.
TypeConfig is a configuration error.
TypeFilesystem represents set of errors generated by filesystem operations.
TypeNetwork represents collection of errors related to networking.
TypePath is an invalid path error.
TypeSecurity represents set of errors related to security, encryption, etc.
TypeUnexpected is a default error type for errors without specified type.

# Structs

MetaRecord is a entry of metadata enhancing an error.

# Interfaces

Error is an interface defining custom agent error.

# Type aliases

ErrorType defines an error.