Versions in this module Expand all Collapse all v1 v1.0.0 Oct 26, 2021 Changes in this version + type Error interface + Code func() string + Error func() string + Message func() string + Params func() map[string]interface{} + SetMessage func(string) Error + SetParams func(map[string]interface{}) Error + func New(code, message string) Error + type ErrorObject struct + func (e ErrorObject) AddParam(name string, value interface{}) Error + func (e ErrorObject) Code() string + func (e ErrorObject) Error() string + func (e ErrorObject) Message() string + func (e ErrorObject) Params() map[string]interface{} + func (e ErrorObject) SetCode(code string) Error + func (e ErrorObject) SetMessage(message string) Error + func (e ErrorObject) SetParams(params map[string]interface{}) Error