package
0.1.5
Repository: https://github.com/duboisf/gitops-engine.git
Documentation: pkg.go.dev

# Functions

CheckError logs a fatal message and exits with ErrorGeneric if err is not nil.
CheckErrorWithCode is a convenience function to exit if an error is non-nil and exit if it was.
FailOnErr panics if there is an error.
Fatal is a wrapper for logrus.Fatal() to exit with custom code.
Fatalf is a wrapper for logrus.Fatalf() to exit with custom code.

# Constants

ErrorAPIResponse is returned on unexpected API response, i.e.
ErrorCommandSpecific is reserved for command specific indications.
ErrorConnectionFailure is returned on connection failure to API endpoint.
ErrorGeneric is returned for generic error.
ErrorResourceDoesNotExist is returned when the requested resource does not exist.