Class: VagrantPlugins::Deltacloud::Action::AbstractAction
- Inherits:
-
Object
- Object
- VagrantPlugins::Deltacloud::Action::AbstractAction
- Defined in:
- lib/vagrant-deltacloud-provider/action/abstract_action.rb
Direct Known Subclasses
CreateServer, DeleteServer, Message, ReadSSHInfo, ReadState, Resume, StartServer, StopServer, Suspend, SyncFolders, WaitForServerToBeAccessible, WaitForServerToBeActive, WaitForServerToStop
Instance Method Summary collapse
Instance Method Details
#call(env) ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/vagrant-deltacloud-provider/action/abstract_action.rb', line 7 def call(env) execute(env) # rubocop:disable Style/SpecialGlobalVars # rubocop:disable Lint/RescueException rescue Errors::VagrantDeltacloudError => e raise e rescue Exception => e puts I18n.t('vagrant_deltacloud.global_error') unless e. && e..start_with?('Catched Error:') raise $!, "Catched Error: #{$!}", $!.backtrace end |