Exception: Nanoc::Errors::DuplicateIdentifier
- Inherits:
-
Generic
- Object
- StandardError
- Generic
- Nanoc::Errors::DuplicateIdentifier
- Defined in:
- lib/nanoc/base/errors.rb
Overview
Error that is raised when multiple items or layouts with the same identifier exist.
Instance Method Summary (collapse)
-
- (DuplicateIdentifier) initialize(identifier, type)
constructor
A new instance of DuplicateIdentifier.
Constructor Details
- (DuplicateIdentifier) initialize(identifier, type)
Returns a new instance of DuplicateIdentifier
227 228 229 |
# File 'lib/nanoc/base/errors.rb', line 227 def initialize(identifier, type) super("There are multiple #{type}s with the #{identifier} identifier.") end |