rubyzip/lib/zip/errors.rb

22 lines
690 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module Zip
2014-01-24 17:37:38 +08:00
class Error < StandardError; end
class EntryExistsError < Error; end
class DestinationFileExistsError < Error; end
class CompressionMethodError < Error; end
class EntryNameError < Error; end
2019-09-13 05:01:38 +08:00
class EntrySizeError < Error; end
2014-01-24 17:37:38 +08:00
class InternalError < Error; end
2015-02-17 03:51:44 +08:00
class GPFBit3Error < Error; end
class DecompressionError < Error; end
# Backwards compatibility with v1 (delete in v2)
ZipError = Error
ZipEntryExistsError = EntryExistsError
ZipDestinationFileExistsError = DestinationFileExistsError
ZipCompressionMethodError = CompressionMethodError
ZipEntryNameError = EntryNameError
ZipInternalError = InternalError
end