require "vagrant" module VagrantPlugins module ProfitBricks module Errors class VagrantProfitBricksError < Vagrant::Errors::VagrantError error_namespace("vagrant_profitbricks.errors") end class CreateBadState < VagrantProfitBricksError error_key(:create_bad_state) end class NoMatchingFlavor < VagrantProfitBricksError error_key(:no_matching_flavor) end class NoMatchingImage < VagrantProfitBricksError error_key(:no_matching_image) end class NoMatchingDatacenter < VagrantProfitBricksError error_key(:no_matching_datacenter) end class RsyncError < VagrantProfitBricksError error_key(:rsync_error) end class ImageOrLicenceTypeMustBeProvided < VagrantProfitBricksError error_key(:image_or_licence_type_must_be_provided) end class ImagePasswordOrSSHKeysMustBeProvided < VagrantProfitBricksError error_key(:image_password_or_ssh_keys_must_be_provided) end end end end