cmderrors

package
v0.6.97 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayAndHandleCmdError

func DisplayAndHandleCmdError(name string, cmdFunc func() error) error

determines if should print error stack trace and/or send to crash monitor

func DisplayAndHandleError

func DisplayAndHandleError(err error)

func TransformToValidationError

func TransformToValidationError(pa cobra.PositionalArgs) cobra.PositionalArgs

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL