rubyzip/lib/zip/errors.rb

18 lines
583 B
Ruby
Raw Normal View History

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
class InternalError < Error; end
2015-02-17 03:51:44 +08:00
class GPFBit3Error < Error; end
# Backwards compatibility with v1 (delete in v2)
ZipError = Error
ZipEntryExistsError = EntryExistsError
ZipDestinationFileExistsError = DestinationFileExistsError
ZipCompressionMethodError = CompressionMethodError
ZipEntryNameError = EntryNameError
ZipInternalError = InternalError
end