class Zip::EntryExistsError
Error raised when trying to add an entry to an archive where the entry name already exists.
Public Class Methods
Source
# File lib/zip/errors.rb, line 64 def initialize(source, name) super() @source = source @name = name end
Create a new EntryExistsError with the specified source and name.
Calls superclass method
Public Instance Methods
Source
# File lib/zip/errors.rb, line 71 def message "'#{@source}' failed. Entry #{@name} already exists." end
The message returned by this error.