package
Version:
v0.1.4
Opens a new window with list of versions in this module.
Published: Oct 8, 2019
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
cerr
Short for constant error, cerr
provides errors which can be compared in logic statements. For example:
foo, err := getFoo()
if err != nil {
if err == SpecialErr {
// do something...
return
}
// do something else
}
Documentation
¶
Error implements the error interface
Source Files
¶
Click to show internal directories.
Click to hide internal directories.