lib/vagrant-libvirt/errors.rb in vagrant-libvirt-0.9.0 vs lib/vagrant-libvirt/errors.rb in vagrant-libvirt-0.10.0

- old
+ new

@@ -107,11 +107,11 @@ class FogCreateDomainVolumeError < VagrantLibvirtError error_key(:fog_create_domain_volume_error) end class FogCreateServerError < VagrantLibvirtError - error_key(:fog_create_server_error) + error_key(:create_server_error) end # Network exceptions class ManagementNetworkError < VagrantLibvirtError error_key(:management_network_error) @@ -152,10 +152,14 @@ class ManagementNetworkRequired < VagrantLibvirtError error_key(:management_network_required) end # Other exceptions + class UpdateServerError < VagrantLibvirtError + error_key(:create_server_error) + end + class InterfaceSlotNotAvailable < VagrantLibvirtError error_key(:interface_slot_not_available) end class InterfaceSlotExhausted < VagrantLibvirtError @@ -184,11 +188,27 @@ class NoIpAddressError < VagrantLibvirtError error_key(:no_ip_address_error) end - class DeleteSnapshotError < VagrantLibvirtError - error_key(:delete_snapshot_error) + class SnapshotMissing < VagrantLibvirtError + error_key(:snapshot_missing) + end + + class SnapshotDeletionError < VagrantLibvirtError + error_key(:snapshot_deletion_error) + end + + class SnapshotListError < VagrantLibvirtError + error_key(:snapshot_list_error) + end + + class SnapshotCreationError < VagrantLibvirtError + error_key(:snapshot_creation_error) + end + + class SnapshotReversionError < VagrantLibvirtError + error_key(:snapshot_reversion_error) end class SerialCannotCreatePathError < VagrantLibvirtError error_key(:serial_cannot_create_path_error) end