Documentation ¶
Index ¶
- func Assert(cond bool, msg string, args ...interface{})
- func Panicf(msg string, args ...interface{})
- func UnrecognizedMode(got, name string) error
- func Wrap(err1, err2 error) error
- func WrapFmt(err error, msg string, args ...interface{}) error
- type Asserter
- type Available
- type Base
- type Bound
- type EmptyStringError
- type KeyError
- type Mode
- type Name
- type NotEmpty
- type NotFound
- type OutOfBoundError
- type String
- type Strings
- type UnrecognizedModeError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnrecognizedMode ¶
Types ¶
type EmptyStringError ¶
type EmptyStringError struct {
// contains filtered or unexported fields
}
func (EmptyStringError) Error ¶
func (e EmptyStringError) Error() (s string)
func (EmptyStringError) Unwrap ¶
func (e EmptyStringError) Unwrap() error
type KeyError ¶
type KeyError struct {
// contains filtered or unexported fields
}
func KeyNotFound ¶
func KeyNotFoundWith ¶
func KeyNotFoundWith(key interface{}) (k KeyError)
type OutOfBoundError ¶
type OutOfBoundError struct {
// contains filtered or unexported fields
}
func (OutOfBoundError) Error ¶
func (o OutOfBoundError) Error() string
func (OutOfBoundError) Unwrap ¶
func (o OutOfBoundError) Unwrap() error
type Strings ¶
type Strings struct {
// contains filtered or unexported fields
}
func NewStrings ¶
func NewStrings() (s Strings)
func NewStringsWithCap ¶
type UnrecognizedModeError ¶
type UnrecognizedModeError struct {
// contains filtered or unexported fields
}
func (UnrecognizedModeError) Error ¶
func (e UnrecognizedModeError) Error() string
func (UnrecognizedModeError) Unwrap ¶
func (e UnrecognizedModeError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.