Versions in this module Expand all Collapse all v1 v1.0.1 Feb 25, 2019 v1.0.0 Jan 30, 2019 Changes in this version + func LoadMessages(file string) 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