Documentation ¶ Index ¶ func Cause(err error) error func StackTrace(err error) string func Wrap(err error, msg string) error type ApiCoder func AsApiCoder(err error) ApiCoder func New(code int, message string, reference ...string) ApiCoder Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Cause ¶ func Cause(err error) error func StackTrace ¶ func StackTrace(err error) string func Wrap ¶ func Wrap(err error, msg string) error Types ¶ type ApiCoder ¶ type ApiCoder interface { Code() int Message() string Reference() string Error() string } func AsApiCoder ¶ func AsApiCoder(err error) ApiCoder func New ¶ func New(code int, message string, reference ...string) ApiCoder Source Files ¶ View all Source files error.go Click to show internal directories. Click to hide internal directories.