//
pkg.gl
Category
github.com/shellhub-io/shellhub
pkg
errors
package
0.18.3
Repository:
https://github.com/shellhub-io/shellhub.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
1
Dependents
6
Files
50 SLOC
#
Functions
As
As wraps [errors.As].
Is
Is wraps [errors.Is].
New
New creates a new [Error].
Unwrap
Unwrap returns the next error from the error tree.
WithData
WithData insiert [Data] into parent is from type [Error].
Wrap
Wrap wraps an error with another error.
#
Structs
Error
Error is a custom error that carry attributes to specify error's message, resource, layer, code and data.
#
Interfaces
Data
Data is a custom type to carry error's metadata.