Discover Packages
aspect.build/cli
pkg
aspecterrors
package
Version:
v1.503.4
Opens a new window with list of versions in this module.
Published: Apr 19, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func HandleError(err error )
Output information about the provided error and terminate the process. This should only be used
in an application's main function or equivalent.
type ErrorList struct {
}
ErrorList is a linked list for errors.
Errors return a slice with all the elements in the linked list.
Insert inserts a new error into the linked list.
type ExitError struct {
Err error
ExitCode int
}
ExitError encapsulates an upstream error and an exit code. It is used by the
aspect CLI main entrypoint to propagate meaningful exit error codes as the
aspect CLI exit code.
Error returns the call to the encapsulated error.Error().
Source Files
¶
Click to show internal directories.
Click to hide internal directories.