Documentation
¶
Overview ¶
Package errdefs provides error types for common PatrolBot errors that warrant special handling in the CLI or bot server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigError ¶
type ConfigError struct {
// contains filtered or unexported fields
}
ConfigError indicates a failure to run a command due to invalid configuration.
func NewConfigError ¶
func NewConfigError(causes ...string) *ConfigError
NewConfigError creates a new ConfigError.
func (ConfigError) Error ¶
func (e ConfigError) Error() string
type UsageError ¶
type UsageError string
UsageError indicates an error resulting from incorrect command usage by the user.
func (UsageError) Error ¶
func (e UsageError) Error() string
Click to show internal directories.
Click to hide internal directories.