package
0.11.1
Repository: https://github.com/terramate-io/terramate.git
Documentation: pkg.go.dev

# Packages

Package errlog provides functions to log Terramate errors nicely and in a consistent manner.
Package verbosity defines the common Terramate error verbosity levels.

# Functions

As is just an alias to Go stdlib errors.As.
D is a constructor function to create a new DetailedError with a formatted message.
E builds an error value from its arguments.
HasCode tells if the error tree rooted at err contains the given code.
Is is just an alias to Go stdlib errors.Is.
IsAnyKind returns true if err is of any of the provided kinds.
IsKind tells if err is of kind k.
L builds a List instance with all errs provided as arguments.

# Constants

ErrInternal indicates that an unrecoverable internal error happened.

# Structs

DetailedError represents an error with additional detail information.
Error is the default Terramate error type.
ErrorDetails contains a detailed message related to an error with a verbosity level.
List represents a list of error instances that also implements Go's error interface.

# Type aliases

Kind defines the kind of an error.