lib/vagrant-vcloud/errors.rb in vagrant-vcloud-0.4.0 vs lib/vagrant-vcloud/errors.rb in vagrant-vcloud-0.4.1
- old
+ new
@@ -7,26 +7,19 @@
error_namespace('vagrant_vcloud.errors')
end
class RsyncError < VCloudError
error_key(:rsync_error)
end
-
class MkdirError < VCloudError
error_key(:mkdir_error)
end
class VCloudOldVersion < VCloudError
error_key(:vcloud_old_version)
end
class CatalogAddError < VCloudError
error_key(:catalog_add_error)
end
- class HostNotFound < VCloudError
- error_key(:host_not_found)
- end
- class HostRedirect < VCloudError
- error_key(:host_redirect)
- end
class UnauthorizedAccess < VCloudError
error_key(:unauthorized_access)
end
class StopVAppError < VCloudError
error_key(:stop_vapp_error)
@@ -58,9 +51,18 @@
class InvalidConfigError < RestError
error_key(:invalid_config_error)
end
class InvalidStateError < RestError
error_key(:invalid_state_error)
+ end
+ class InvalidRequestError < RestError
+ error_key(:invalid_request_error)
+ end
+ class UnattendedCodeError < RestError
+ error_key(:unattended_code_error)
+ end
+ class EndpointUnavailable < RestError
+ error_key(:endpoint_unavailable)
end
class SyncError < VCloudError
error_key(:sync_error)
end
end