Example #1
0
File: env.go Project: ngaut/bmdb
func (e Errno) Error() string {
	s := C.GoString(C.mdb_strerror(C.int(e)))
	if s == "" {
		return fmt.Sprint("mdb errno:", int(e))
	}
	return s
}
Example #2
0
File: env.go Project: Crest/gomdb
func (e Errno) Error() string {
	return C.GoString(C.mdb_strerror(C.int(e)))
}