# frozen_string_literal: true 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 NoDatacenterID < VagrantProfitBricksError error_key(:no_datacenter_uuid) end class NoLan < VagrantProfitBricksError error_key(:no_lan) end class RsyncError < VagrantProfitBricksError error_key(:rsync_error) end class ImageOrLicenceTypeMustBeProvided < VagrantProfitBricksError error_key(:image_or_licence_type_must_be_provided) end class ImageOrImageTypeMustBeProvided < VagrantProfitBricksError error_key(:image_or_image_alias_must_be_provided) end class ImagePasswordOrSSHKeysMustBeProvided < VagrantProfitBricksError error_key(:image_password_or_ssh_keys_must_be_provided) end end end end