Discover Packages
github.com/argoproj/argo-cd/v3
util
errors
package
Version:
v3.6.3
Opens a new window with list of versions in this module.
Published: Nov 24, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 4 modules, 2 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
func CheckError(err error )
CheckError logs a fatal message and exits with ErrorGeneric if err is not nil
func Fatal(exitcode int , args ...any )
Fatal is a wrapper for logrus.Fatal() to exit with custom code
Fatalf is a wrapper for logrus.Fatalf() to exit with custom code
func IsCredentialsConfigurationError(err error ) bool
IsCredentialsConfigurationError checks if the given error is a wrapped credentials configuration error.
func NewCredentialsConfigurationError(err error ) error
NewCredentialsConfigurationError wraps any error into a credentials configuration error.
FailOnErr fails the test if there is an error. It returns the first value so you can use it if you cast it:
text := FailOrErr(Foo).(string)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.