Versions in this module Expand all Collapse all v0 v0.2.0 Apr 27, 2019 Changes in this version + func EAlreadyExists(msg string, err error, arg ...interface{}) error + func EBadRequest(msg string, err error, arg ...interface{}) error + func EInternal(msg string, err error, arg ...interface{}) error + func ENotExists(msg string, err error, arg ...interface{}) error + func ENotFound(msg string, err error, arg ...interface{}) error + func EUnauthorized(msg string, err error, arg ...interface{}) error + func EValidation(msg string, err error, arg ...interface{}) error + func Is(t Type, err error) bool + func New(t Type, msg string, err error) error + type Error struct + Message string + Type Type + func (e *Error) Cause() string + func (e *Error) Error() string + func (e *Error) Extensions() map[string]interface{} + type Type string + const AlreadyExists + const BadRequest + const Internal + const NotFound + const Unauthorized + const Validation + func (t Type) Code() int + func (t Type) String() string