Sha256: f143fdb90083eec412043bdf991fa4c4b6157b265a10731445af3eb91f8008d0

Contents?: true

Size: 657 Bytes

Versions: 1

Compression:

Stored size: 657 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_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

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-scp-sync-0.5.19 lib/vagrant-scp-sync/errors.rb