mirror of https://github.com/docker/docs.git
20 lines
349 B
Go
20 lines
349 B
Go
package libmachine
|
|
|
|
import (
|
|
"errors"
|
|
"fmt"
|
|
)
|
|
|
|
var (
|
|
ErrInvalidHostname = errors.New("Invalid hostname specified")
|
|
ErrUnknownProviderType = errors.New("Unknown hypervisor type")
|
|
)
|
|
|
|
type ErrHostDoesNotExist struct {
|
|
Name string
|
|
}
|
|
|
|
func (e ErrHostDoesNotExist) Error() string {
|
|
return fmt.Sprintf("Error: Host does not exist: %s", e.Name)
|
|
}
|