package
0.3.0-rc4
Repository: https://github.com/ccremer/greposync.git
Documentation: pkg.go.dev

# Functions

AsFlagUsageError returns a flag ErrUsage with the given error.
AsFlagUsageErrorf returns a flag ErrUsage with the given message.
AsUsageError returns the given error wrapped in a ErrUsage.
AsUsageErrorf returns a ErrUsage with the given format.
NewErrorHandler will print the CLI help and exit with code 2 if the given error is a ErrUsage.

# Variables

ErrPipeline is an error that is caused by an action aborting a pipeline.
ErrUsage is an error that is caused by an incorrect usage by the user.