github.com/altoros/juju-vmware@v0.0.0-20150312064031-f19ae857ccca/environs/errors.go (about) 1 // Copyright 2011, 2012, 2013 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package environs 5 6 import ( 7 "errors" 8 ) 9 10 var ( 11 ErrNotBootstrapped = errors.New("environment is not bootstrapped") 12 ErrAlreadyBootstrapped = errors.New("environment is already bootstrapped") 13 ErrNoInstances = errors.New("no instances found") 14 ErrPartialInstances = errors.New("only some instances were found") 15 16 // Errors indicating that the provider can't allocate an IP address to an 17 // instance. 18 ErrIPAddressesExhausted = errors.New("can't allocate a new IP address") 19 ErrIPAddressUnavailable = errors.New("the requested IP address is unavailable") 20 )