Sha256: d860acb5a5d2343d8b24d7167732da1395492e0f6cfecb47634c41d5f9dc36ba

Contents?: true

Size: 1.78 KB

Versions: 34

Compression:

Stored size: 1.78 KB

Contents

# frozen_string_literal: true

require 'vagrant'

module VagrantPlugins
  module ProviderZone
    module Errors
      # Namespace for Vagrant Zones Errors
      class VagrantZonesError < Vagrant::Errors::VagrantError
        error_namespace('vagrant_zones.errors')
      end

      # System Check Results
      class SystemVersionIsTooLow < VagrantZonesError
        error_key(:system_version_too_low)
      end

      # Compatability Check Tool
      class MissingCompatCheckTool < VagrantZonesError
        error_key(:missing_compatability_check_tool)
      end

      # Missing Bhyve
      class MissingBhyve < VagrantZonesError
        error_key(:missing_bhyve)
      end

      # HasNoRootPrivilege
      class HasNoRootPrivilege < VagrantZonesError
        error_key(:has_no_root_privilege)
      end

      # ExecuteError
      class ExecuteError < VagrantZonesError
        error_key(:execute_error)
      end

      # TimeoutError
      class TimeoutError < VagrantZonesError
        error_key(:timeout_error)
      end

      # VirtualBoxRunningConflictDetected
      class VirtualBoxRunningConflictDetected < VagrantZonesError
        error_key(:virtual_box_running_conflict_detected)
      end

      # NotYetImplemented
      class NotYetImplemented < VagrantZonesError
        error_key(:not_yet_implemented)
      end

      # TimeoutHalt
      class TimeoutHalt < VagrantZonesError
        error_key(:halt_timeout)
      end

      # InvalidbhyveBrand
      class InvalidbhyveBrand < VagrantZonesError
        error_key(:invalidbhyve_brand)
      end

      # InvalidLXBrand
      class InvalidLXBrand < VagrantZonesError
        error_key(:invalidLX_brand)
      end

      # ConsoleFailed
      class ConsoleFailed < VagrantZonesError
        error_key(:console_failed_exit)
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
vagrant-zones-0.1.98 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.97 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.96 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.94 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.93 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.92 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.91 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.90 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.89 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.88 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.87 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.86 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.85 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.84 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.83 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.82 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.81 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.80 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.79 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.78 lib/vagrant-zones/errors.rb