Sha256: e8bc1d81bac8dfbac04b1bc05785ae3b3d51d65f967e51ddcae1af3b51fe8af2

Contents?: true

Size: 969 Bytes

Versions: 2

Compression:

Stored size: 969 Bytes

Contents

# frozen_string_literal: true

#
# Copyright 2015 Shawn Neal <sneal@sneal.net>
#
# 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.

module WinRM
  module FS
    # WinRM-FS base class for errors
    class WinRMFSError < StandardError; end

    # Error that occurs when a file upload fails
    class WinRMUploadError < WinRMFSError; end

    # Error that occurs when a file download fails
    class WinRMDownloadError < WinRMFSError; end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
chef-winrm-fs-1.3.6 lib/winrm-fs/exceptions.rb
winrm-fs-1.3.6 lib/winrm-fs/exceptions.rb