You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
packer/vendor/github.com/exoscale/egoscale/error.go

16 lines
568 B

package egoscale
import "errors"
// ErrNotFound represents an error indicating a non-existent resource.
var ErrNotFound = errors.New("resource not found")
// ErrTooManyFound represents an error indicating multiple results found for a single resource.
var ErrTooManyFound = errors.New("multiple resources found")
// ErrInvalidRequest represents an error indicating that the caller's request is invalid.
var ErrInvalidRequest = errors.New("invalid request")
// ErrAPIError represents an error indicating an API-side issue.
var ErrAPIError = errors.New("API error")