123456789_123456789_123456789_123456789_123456789_

Exception: Sprockets::DoubleLinkError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Error, StandardError
Instance Chain:
self, Error, StandardError
Inherits: Sprockets::Error
Defined in: lib/sprockets/base.rb

Class Method Summary

Constructor Details

.new(parent_filename:, logical_path:, last_filename:, filename:) ⇒ DoubleLinkError

[ GitHub ]

  
# File 'lib/sprockets/base.rb', line 21

def initialize(parent_filename:, logical_path:, last_filename:, filename:)
  super <<~MSG
    Multiple files with the same output path cannot be linked (#{logical_path.inspect})
    In #{parent_filename.inspect} these files were linked:
      - #{last_filename}
      - #{filename}
  MSG
end