github.com/cozy/cozy-stack@v0.0.0-20240603063001-31110fa4cae1/model/nextcloud/errors.go (about)

     1  package nextcloud
     2  
     3  import "errors"
     4  
     5  var (
     6  	// ErrAccountNotFound is used when the no account can be found with the
     7  	// given ID.
     8  	ErrAccountNotFound = errors.New("account not found")
     9  	// ErrInvalidAccount is used when the account cannot be used to connect to
    10  	// NextCloud.
    11  	ErrInvalidAccount = errors.New("invalid NextCloud account")
    12  )