Sha256: b289bf2be51c0dbac58ab3282e14e5f66999249343a8e4b48759e78f94e01211

Contents?: true

Size: 664 Bytes

Versions: 10

Compression:

Stored size: 664 Bytes

Contents

# frozen_string_literal: true

require 'vagrant'

module VagrantPlugins
  module ScpSync
    module Errors
      # Namespace for Vagrant SCP Sync Errors
      class VagrantScpSyncError < Vagrant::Errors::VagrantError
        error_namespace('vagrant_scp_sync.errors')
      end

      # Generic error class for all SCP sync errors
      class SyncedFolderScpSyncError < VagrantScpSyncError
        error_key(:scp_sync_folder_error, 'vagrant_scp_sync.errors')
      end

      # This Class denotes that SCP is not installed
      class SCPNotFound < VagrantScpSyncError
        error_key(:scp_installed_error, 'vagrant_scp_sync.errors')
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
vagrant-scp-sync-0.5.29 lib/vagrant-scp-sync/errors.rb
vagrant-scp-sync-0.5.28 lib/vagrant-scp-sync/errors.rb
vagrant-scp-sync-0.5.27 lib/vagrant-scp-sync/errors.rb
vagrant-scp-sync-0.5.26 lib/vagrant-scp-sync/errors.rb
vagrant-scp-sync-0.5.25 lib/vagrant-scp-sync/errors.rb
vagrant-scp-sync-0.5.24 lib/vagrant-scp-sync/errors.rb
vagrant-scp-sync-0.5.23 lib/vagrant-scp-sync/errors.rb
vagrant-scp-sync-0.5.22 lib/vagrant-scp-sync/errors.rb
vagrant-scp-sync-0.5.21 lib/vagrant-scp-sync/errors.rb
vagrant-scp-sync-0.5.20 lib/vagrant-scp-sync/errors.rb