Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrExternal = New("external")
ErrExternal is a special kind of error. It not only represents itself, but also any other error that does not implement causer interface. This is usually true for errors that are comming from outside of this package.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
func New ¶
New is created for the compability with the standard library. It should be used to create an error of a new kind. It most cases it is better to use Wrap function or New Method of an existing error.
Click to show internal directories.
Click to hide internal directories.