lib/zip/errors.rb
module Zip
class Error < StandardError; end
class EntryExistsError < Error; end
class DestinationFileExistsError < Error; end
class CompressionMethodError < Error; end
class EntryNameError < Error; end
class InternalError < Error; end
# Backwards compatibility with v1 (delete in v2)
ZipError = Error
ZipEntryExistsError = EntryExistsError
ZipDestinationFileExistsError = DestinationFileExistsError
ZipCompressionMethodError = CompressionMethodError
ZipEntryNameError = EntryNameError
ZipInternalError = InternalError
end