errtypes

package
v0.0.0-...-3ab8725 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2019 License: MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL