Documentation ¶
Index ¶
- type Config
- type Err
- type Errors
- func (e *Errors) Alert(format string, a ...interface{}) error
- func (e *Errors) Append(err *Errors) error
- func (e *Errors) Crit(format string, a ...interface{}) error
- func (e *Errors) Debug(format string, a ...interface{}) error
- func (e *Errors) Emerg(format string, a ...interface{}) error
- func (e *Errors) Err(format string, a ...interface{}) error
- func (e *Errors) Info(format string, a ...interface{}) error
- func (e *Errors) IsError() bool
- func (e *Errors) List(p ...Priority) []Err
- func (e *Errors) Notice(format string, a ...interface{}) error
- func (e *Errors) Priority() Priority
- func (e *Errors) Warning(format string, a ...interface{}) error
- type Priority
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { }
Config defines the error configuration, currently no configuration options are available.
type Err ¶
type Err struct {
// contains filtered or unexported fields
}
Err contains a single error
type Errors ¶
type Errors struct {
// contains filtered or unexported fields
}
Errors contains a list of Error
func (*Errors) List ¶
List returns all errors of a given priority, if no priority is given all errors are returned.
Click to show internal directories.
Click to hide internal directories.