Sha256: 6dd27831c23cc5e39b7ace61af4eabef79a6a56ef6e6c8bd5b7a8c12f90b7cb9

Contents?: true

Size: 1.38 KB

Versions: 24

Compression:

Stored size: 1.38 KB

Contents

# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require "vagrant"

module VagrantPlugins
  module Google
    module Errors
      class VagrantGoogleError < Vagrant::Errors::VagrantError
        error_namespace("vagrant_google.errors")
      end

      class DiskTypeError < VagrantGoogleError
        error_key(:disk_type_error)
      end

      class FogError < VagrantGoogleError
        error_key(:fog_error)
      end

      class ExternalIpInUseError < VagrantGoogleError
        error_key(:external_ip_error)
      end

      class ExternalIpDoesNotExistError < VagrantGoogleError
        error_key(:external_ip_does_not_exist_error)
      end

      class InstanceReadyTimeout < VagrantGoogleError
        error_key(:instance_ready_timeout)
      end

      class RsyncError < VagrantGoogleError
        error_key(:rsync_error)
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
vagrant-google-2.7.0 lib/vagrant-google/errors.rb
vagrant-google-2.6.0 lib/vagrant-google/errors.rb
vagrant-google-2.5.0 lib/vagrant-google/errors.rb
vagrant-google-2.4.0 lib/vagrant-google/errors.rb
vagrant-google-2.4.0.rc0 lib/vagrant-google/errors.rb
vagrant-google-2.3.0 lib/vagrant-google/errors.rb
vagrant-google-2.3.0.rc0 lib/vagrant-google/errors.rb
vagrant-google-2.2.1 lib/vagrant-google/errors.rb
vagrant-google-2.2.0 lib/vagrant-google/errors.rb
vagrant-google-2.2.0.rc0 lib/vagrant-google/errors.rb
vagrant-google-2.1.0 lib/vagrant-google/errors.rb
vagrant-google-2.0.0 lib/vagrant-google/errors.rb
vagrant-google-2.0.0.rc1 lib/vagrant-google/errors.rb
vagrant-google-2.0.0.rc0 lib/vagrant-google/errors.rb
vagrant-google-1.0.0 lib/vagrant-google/errors.rb
vagrant-google-1.0.0.rc0 lib/vagrant-google/errors.rb
vagrant-google-0.2.5 lib/vagrant-google/errors.rb
vagrant-google-0.2.5.rc0 lib/vagrant-google/errors.rb
vagrant-google-0.2.4 lib/vagrant-google/errors.rb
vagrant-google-0.2.3 lib/vagrant-google/errors.rb