Versions in this module Expand all Collapse all v1 v1.0.0 Sep 23, 2020 Changes in this version + func WrapWithErr(oldErr, newErr error) error + func WrapWithFrame(oldErr error) error + type Error struct + Cause error + Comp string + Err string + ErrCode int + File string + Line int + func NewErrorWithErr(err error) *Error + func NewErrorWithMessage(msg string) *Error + func (e *Error) Code() int + func (e *Error) Component() string + func (e *Error) Error() string + func (e *Error) JSON() ([]byte, error) + func (e *Error) Message() string + func (e *Error) Unwrap() error + func (e *Error) WithCode(code int) *Error + func (e *Error) WithComponent(component string) *Error + func (e Error) DumpStack() []string + func (e Error) DumpStackWithID(requestID string) []string