Documentation
¶
Overview ¶
Package errors holds common sentinel errors and string formats for error message.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrMissingOpt is a sentinel error indicating that one or more required command line options are missing. ErrMissingOpt = errors.New("missing option") // ErrInvalidOptVal is a sentinel error indicating that a specific option has an invalid value ErrInvalidOptVal = errors.New("invalid option value") // ErrUnimplemented indicates that the feature or operation is unimplemented. It possibly maybe be implemented in the future. ErrUnimplemented = errors.New("not implemented") // ErrUnexpectedType is a sentinel error representing an unexpected type error which should not happen - generally encountered when casting. Use this in lieu of a panic. ErrUnexpectedType = errors.New("unexpected type") )
View Source
var ( // FmtInitFailed is a error format indicating that the quoted component failed to initialize. FmtInitFailed = "%q initialization failed" // FmtStartFailed is a error format indicating that the quoted component failed to start. FmtStartFailed = "%q start failed" )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.