Versions in this module Expand all Collapse all v0 v0.4.0 Apr 25, 2019 Changes in this version + func Cause(err error) error + func Errorf(format string, args ...interface{}) error + func LoadMessages(file string) error + func New(message string) error + func Wrap(err error, message string) error + func Wrapf(err error, format string, args ...interface{}) error + type APIError struct + Details interface{} + DeveloperMessage string + ErrorCode string + Message string + Status int + func InternalServerError(err error) *APIError + func InvalidData(errs validation.Errors) *APIError + func NewHTTPError(status int, code string, params Params) *APIError + func NotFound(resource string) *APIError + func Unauthorized(err string) *APIError + func (e APIError) Error() string + func (e APIError) StatusCode() int + type Params map[string]interface + type StackTracer interface + StackTrace func() errors.StackTrace