package
0.18.3
Repository: https://github.com/shellhub-io/shellhub.git
Documentation: pkg.go.dev

# Functions

As wraps [errors.As].
Is wraps [errors.Is].
New creates a new [Error].
Unwrap returns the next error from the error tree.
WithData insiert [Data] into parent is from type [Error].
Wrap wraps an error with another error.

# Structs

Error is a custom error that carry attributes to specify error's message, resource, layer, code and data.

# Interfaces

Data is a custom type to carry error's metadata.