github.com/iceber/iouring-go@v0.0.0-20230403020409-002cfd2e2a90/errors.go (about)

     1  // +build linux
     2  
     3  package iouring
     4  
     5  import "errors"
     6  
     7  var (
     8  	ErrIOURingClosed = errors.New("iouring closed")
     9  
    10  	ErrRequestCanceled     = errors.New("request is canceled")
    11  	ErrRequestNotFound     = errors.New("request is not found")
    12  	ErrRequestCompleted    = errors.New("request has already been completed")
    13  	ErrRequestNotCompleted = errors.New("request is not completed")
    14  	ErrNoRequestCallback   = errors.New("no request callback")
    15  
    16  	ErrUnregisteredFile = errors.New("file is unregistered")
    17  )