Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthError ¶
type AuthError struct {
// contains filtered or unexported fields
}
AuthError marks a missing credential so Execute exits 2, the same code a rejected token (HTTP 401) produces.
type UsageError ¶
type UsageError struct {
// contains filtered or unexported fields
}
UsageError marks an input problem (missing or conflicting flags, bad arguments) that a command detects in its own body, so Execute exits 3 — matching how cobra classifies the parse errors it catches itself.
func (*UsageError) Error ¶
func (e *UsageError) Error() string
Click to show internal directories.
Click to hide internal directories.