Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PanicOnMissingLocale = true
Functions ¶
func IsReportableError ¶
func ParseUserFacing ¶
ParseUserFacing returns the exit code and a user facing error message.
func ReportError ¶
func ReportError(err error, cmd *captain.Command, an analytics.Dispatcher)
Types ¶
type OutputError ¶
type OutputError struct {
// contains filtered or unexported fields
}
func (*OutputError) MarshalOutput ¶
func (o *OutputError) MarshalOutput(f output.Format) interface{}
func (*OutputError) MarshalStructured ¶
func (o *OutputError) MarshalStructured(f output.Format) interface{}
Click to show internal directories.
Click to hide internal directories.