2014-03-26 23:45:46 +00:00
|
|
|
module VagrantPlugins
|
|
|
|
module DockerProvider
|
|
|
|
module Errors
|
2014-04-10 15:57:59 +00:00
|
|
|
class DockerError < Vagrant::Errors::VagrantError
|
|
|
|
error_namespace("docker_provider.errors")
|
|
|
|
end
|
|
|
|
|
|
|
|
class ImageNotConfiguredError < DockerError
|
2014-03-26 23:45:46 +00:00
|
|
|
error_key(:docker_provider_image_not_configured)
|
|
|
|
end
|
2014-04-10 15:57:59 +00:00
|
|
|
|
|
|
|
class NfsWithoutPrivilegedError < DockerError
|
2014-03-26 23:45:46 +00:00
|
|
|
error_key(:docker_provider_nfs_without_privileged)
|
|
|
|
end
|
2014-04-10 15:57:59 +00:00
|
|
|
|
|
|
|
class SyncedFolderNonDocker < DockerError
|
|
|
|
error_key(:synced_folder_non_docker)
|
|
|
|
end
|
2014-03-26 23:45:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|