Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WrappableError ¶
type WrappableError interface {
error
WrapWithMessage(errMessage string) WrappableError
WrapWithStackTrace() WrappableError
WrapWithError(err error) WrappableError
GetBaseError() error
GetLastError() error
Unwrap() error
Is(target error) bool
}
WrappableError is an interface that extends error and represents a multi-layer error
func WrapError ¶
func WrapError(err error) WrappableError
WrapError constructs a WrappableError from an error
Click to show internal directories.
Click to hide internal directories.