func Err(status status) error {
	return statusError[status]
}
Err returns a status error given a status
package lib
import "C"
import (
	"errors"
	"unsafe"
)
type status int
const (
	statusSuccess status = iota
	statusNoMemory
	statusClosed
	statusTimeout
	statusSeeErrno
	statusIOError
	statusInvalidArgument
	statusInternalError
	statusNoSpace
	statusInputTooLarge
	statusResultTooLarge
	statusPermissionDenied
	statusBusy
	statusNotAvailable
	statusNotSupported
	statusNotImplemented
	statusTryAgain
	statusProtocolError
	statusNotFound
	statusCanceled
	statusOutOfRange
	statusRefused
	statusTooMany
	statusWouldBlock
)