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.77 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.76 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.75 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.73 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.72 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.71 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.70 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.69 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.67 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.66 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.65 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.64 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.63 lib/vagrant-zones/errors.rb
vagrant-zones-0.1.62 lib/vagrant-zones/errors.rb