lib/vagrant-templated/errors.rb in vagrant-templated-0.1.5 vs lib/vagrant-templated/errors.rb in vagrant-templated-0.2.0
- old
+ new
@@ -1,15 +1,29 @@
module Vagrant
- module Errors
- class VagrantfileTemplatedExistsError < VagrantError
- error_key(:vagrantfile_templated_exists)
- end
+ module Templated
+ module Errors
+ class VagrantfileExistsError < Vagrant::Errors::VagrantError
+ error_key(:vagrant_templated_vagrantfile_exists)
+ end
- class BerksfileTemplatedExistsError < VagrantError
- error_key(:berksfile_templated_exists)
- end
+ class BerksfileExistsError < Vagrant::Errors::VagrantError
+ error_key(:vagrant_templated_berksfile_exists)
+ end
- class VagrantTemplatedOptionNotFound < VagrantError
- error_key(:vagrant_templated_option_not_found)
+ class TemplateNotFound < Vagrant::Errors::VagrantError
+ error_key(:vagrant_templated_template_not_found)
+ end
+
+ class VersionNotFound < Vagrant::Errors::VagrantError
+ error_key(:vagrant_templated_version_not_found)
+ end
+
+ class BerksfileWriteError < Vagrant::Errors::VagrantError
+ error_key(:vagrant_templated_berksfile_write_error)
+ end
+
+ class VagrantfileWriteError < Vagrant::Errors::VagrantError
+ error_key(:vagrant_templated_vagrantfile_write_error)
+ end
end
end
end