github.com/qiniu/go-sdk/v7@v7.27.0/storage/errs.go (about)

     1  package storage
     2  
     3  import (
     4  	"errors"
     5  )
     6  
     7  var (
     8  	// ErrBucketNotExist 用户存储空间不存在
     9  	ErrBucketNotExist = errors.New("bucket not exist")
    10  
    11  	// ErrNoSuchFile 文件已经存在
    12  	//lint:ignore ST1005 历史问题,需要兼容
    13  	ErrNoSuchFile = errors.New("No such file or directory")
    14  )