Versions in this module Expand all Collapse all v0 v0.0.2 Mar 26, 2021 v0.0.1 Mar 6, 2021 Changes in this version + 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 string + func (a Asserter) Check(err error) + func (a Asserter) Checkf(err error, msg string, v ...interface{}) + type Available struct + func (a *Available) Add(s string) + func (a Available) NotFound(requested string) (nf NotFound) + type Base struct + func (e *Base) Wrap(err error) (b *Base) + func (e Base) Unwrap() error + type Bound int + func (b Bound) IsOutOfBounds(idx int) error + type EmptyStringError struct + func (e EmptyStringError) Error() (s string) + func (e EmptyStringError) Unwrap() error + type KeyError struct + func KeyNotFound(key string) (k KeyError) + func KeyNotFoundWith(key interface{}) (k KeyError) + func (e KeyError) Error() (s string) + type Mode string + func (m Mode) Error(got string) (err error) + type Name string + func (n Name) NewAvailable() (a Available) + type NotEmpty string + func (n NotEmpty) Check(variable string) (err error) + type NotFound struct + func (e NotFound) Error() (s string) + type OutOfBoundError struct + func (o OutOfBoundError) Error() string + func (o OutOfBoundError) Unwrap() error + type String string + func (e String) Error() (s string) + func (e String) Wrap(err error) (Err error) + func (e String) WrapFmt(err error, args ...interface{}) (Err error) + type Strings struct + func NewStrings() (s Strings) + func NewStringsWithCap(cap int) (s Strings) + func (s *Strings) Add(str string) + func (s Strings) String() (str string) + type UnrecognizedModeError struct + func (e UnrecognizedModeError) Error() string + func (e UnrecognizedModeError) Unwrap() error