Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ETEST = errors.New("test error") EEXIST = errors.New("already exists") ENEXIST = errors.New("not exist") EAGAIN = errors.New("try again") EBADF = errors.New("bad descriptor/main object") ECORRUPT = errors.New("data corruption") )
these represents some basic error types
Functions ¶
func GenTestError ¶
func GenTestError() error
GenTestError generates a test error to test if these stuff works
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.