Documentation ¶
Index ¶
- Variables
- func Arg(argName string, err error, fields ...EntityError) error
- func ArgMsg(argName, errMsg string, fields ...EntityError) error
- func ArgWrap(argName, contextMessage string, err error, fields ...EntityError) error
- func IsCallError(e error) bool
- func Wrap(contextMessage string, causeErr error) error
- type ArgumentError
- type CallError
- type EntityError
- type Unwrappable
Constants ¶
This section is empty.
Variables ¶
View Source
var ( As = errors.As Is = errors.Is New = errors.New Msg = errors.New Unwrap = errors.Unwrap )
View Source
var ErrUnimplemented = Msg("unimplemented")
Functions ¶
func ArgMsg ¶
func ArgMsg(argName, errMsg string, fields ...EntityError) error
func IsCallError ¶
Types ¶
type ArgumentError ¶
type ArgumentError interface {
ArgumentName() string
}
type EntityError ¶
func Ent ¶
func Ent(entityIdentifier string, err error) EntityError
func EntMsg ¶
func EntMsg(entityIdentifier string, errMsg string) EntityError
type Unwrappable ¶
Click to show internal directories.
Click to hide internal directories.