github.com/aiven/aiven-go-client@v1.36.0/errors.go (about)

     1  package aiven
     2  
     3  import "errors"
     4  
     5  var (
     6  	// ErrNoResponseData is uses when there is no data available in the response.
     7  	ErrNoResponseData = errors.New("no response data available")
     8  
     9  	// ErrInvalidHost is used when the provided host is formatted incorrectly.
    10  	ErrInvalidHost = errors.New("host wasn't specified in the correct format: `hostname:port`")
    11  )