lib/vagrant-cloudstack/exceptions/exceptions.rb in vagrant-cloudstack-1.4.0 vs lib/vagrant-cloudstack/exceptions/exceptions.rb in vagrant-cloudstack-1.5.0
- old
+ new
@@ -1,10 +1,15 @@
module VagrantPlugins
module Cloudstack
module Exceptions
- class IpNotFoundException < Exception
+ class IpNotFoundException < StandardError
end
- class DuplicatePFRule < Exception
+ class DuplicatePFRule < StandardError
+ end
+ class CloudstackResourceNotFound < StandardError
+ def initialize(msg='Resource not found in cloudstack')
+ super
+ end
end
end
end
end