Documentation ¶ Index ¶ func IsSilent(err error) bool func NewSilent(err error) error type Silent Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func IsSilent ¶ func IsSilent(err error) bool IsSilent checks if an error is Silent. func NewSilent ¶ func NewSilent(err error) error NewSilent returns a new Silent. Types ¶ type Silent ¶ type Silent struct { // contains filtered or unexported fields } Silent is an error that should not be printed. Useful when errors and printed/presented during command execution and it doesn't need to be printed again after the command returns. Source Files ¶ View all Source files silent.go Click to show internal directories. Click to hide internal directories.