Exception: Coradoc::IncludeTooLargeError

Inherits:
Error
  • Object
show all
Defined in:
lib/coradoc/errors.rb

Overview

Error raised when an include target exceeds the resolver’s size limit.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(target) ⇒ IncludeTooLargeError

Returns a new instance of IncludeTooLargeError.



336
337
338
339
# File 'lib/coradoc/errors.rb', line 336

def initialize(target)
  @target = target
  super("Include target too large to read: #{target}")
end

Instance Attribute Details

#targetObject (readonly)

Returns the value of attribute target.



334
335
336
# File 'lib/coradoc/errors.rb', line 334

def target
  @target
end