lib/vagrant-vcloud/errors.rb in vagrant-vcloud-0.1.2 vs lib/vagrant-vcloud/errors.rb in vagrant-vcloud-0.2.0
- old
+ new
@@ -1,12 +1,12 @@
-require "vagrant"
+require 'vagrant'
module VagrantPlugins
module VCloud
module Errors
class VCloudError < Vagrant::Errors::VagrantError
- error_namespace("vagrant_vcloud.errors")
+ error_namespace('vagrant_vcloud.errors')
end
class RsyncError < VCloudError
error_key(:rsync_error)
end
@@ -39,19 +39,19 @@
end
class ForwardPortCollision < VCloudError
error_key(:forward_port_collision)
end
class SubnetErrors < VCloudError
- error_namespace("vagrant_vcloud.errors.subnet_errors")
+ error_namespace('vagrant_vcloud.errors.subnet_errors')
end
class InvalidSubnet < SubnetErrors
error_key(:invalid_subnet)
end
class SubnetTooSmall < SubnetErrors
error_key(:subnet_too_small)
end
class RestError < VCloudError
- error_namespace("vagrant_vcloud.errors.rest_errors")
+ error_namespace('vagrant_vcloud.errors.rest_errors')
end
class ObjectNotFound < RestError
error_key(:object_not_found)
end
class InvalidConfigError < RestError