Exception: ZipContainer::ReservedNameClashError

Inherits:
RuntimeError
  • Object
show all
Includes:
Error
Defined in:
lib/zip-container/exceptions.rb

Overview

This exception is raised when a clash occurs with a reserved or managed name.

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ ReservedNameClashError

:call-seq:

new(name)

Create a new ReservedNameClashError with the name of the clash supplied.



78
79
80
# File 'lib/zip-container/exceptions.rb', line 78

def initialize(name)
  super("'#{name}' is reserved for internal use in this ZipContainer.")
end