Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicDomainError ¶
type BasicDomainError struct {
// contains filtered or unexported fields
}
BasicDomainError is an abstraction to archive better error tracing
func Error ¶
func Error(op string, err error) *BasicDomainError
Error stack up errors for better tracing
func (BasicDomainError) Error ¶
func (e BasicDomainError) Error() string
Error returns a string formatted error
func (BasicDomainError) Unwrap ¶
func (e BasicDomainError) Unwrap() error
Unwrap returns the err itself
Click to show internal directories.
Click to hide internal directories.