Versions in this module Expand all Collapse all v0 v0.0.4 Jan 25, 2021 v0.0.3 Jan 22, 2021 v0.0.2 Jan 21, 2021 v0.0.1 Jan 20, 2021 Changes in this version + type CodeError struct + Code int + Data interface{} + Message string + func FromError(err error) *CodeError + func NewError(code int, msg string) *CodeError + func NewErrorData(code int, msg string, data interface{}) *CodeError + func NewErrorMsg(msg string) *CodeError + func (e *CodeError) Error() string