11 lines
159 B
Go
11 lines
159 B
Go
|
package errs
|
||
|
|
||
|
import (
|
||
|
`errors`
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
ErrBadType error = errors.New("a bad type was passed")
|
||
|
ErrNilPtr error = errors.New("a nil pointer was passed")
|
||
|
)
|