package
0.0.0-20201026040048-c0ffb5f765ec
Repository: https://github.com/platformercloud/platformer-cli.git
Documentation: pkg.go.dev

# Functions

HandleErrorAndExit can wrap all top level command functions.
TransformSurveyError transforms a survey/v2 error to an cli.Error.

# Structs

CancelError is thrown when an action is cancelled by the User.
InternalError implements a cli.Error that cannot be be used to log an internal error and print a user-friendly message to the CLI user.
NotLoggedInError is thrown when the user is not logged into the CLI.
UserError implements a cli.Error that can be safely printed to the console without leaking implementation details.

# Interfaces

Error must implemented by all cli errors in this package.