Versions in this module Expand all Collapse all v1 v1.1.0 Feb 27, 2017 v1.0.0 Jun 29, 2016 Changes in this version + func New(err string) error + type ErrorResponse struct + ErrorType string + Message string + Params map[string][]string + Status int + func BadRequestError(message string) *ErrorResponse + func ConflictError(message string) *ErrorResponse + func ForbiddenError(message string) *ErrorResponse + func InternalServerError() *ErrorResponse + func NotFoundError(message string) *ErrorResponse + func RequestTooLargeError(message string) *ErrorResponse + func UnauthorizedError(message string) *ErrorResponse + func ValidationError(message string, params map[string][]string) *ErrorResponse + func (e *ErrorResponse) Error() string Incompatible versions in this module v2.0.0+incompatible Feb 27, 2017