Documentation ¶
Overview ¶
Package xerror helps standardizing the errors through the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Message ¶
Message returns the human-readable message of the error, if available. Otherwise returns a generic error message.
func New ¶
New returns a xerror.Error.
Should be used for wrapping an error at the end of a function.
Types ¶
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
Error defines our standard application error.
Click to show internal directories.
Click to hide internal directories.