Exception: Granite::Projector::Error

Inherits:
Error
  • Object
show all
Defined in:
lib/granite/projector/error.rb

Direct Known Subclasses

ActionNotMountedError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, projector = nil) ⇒ Error

Returns a new instance of Error.



8
9
10
11
# File 'lib/granite/projector/error.rb', line 8

def initialize(message, projector = nil)
  @projector = projector
  super(message)
end

Instance Attribute Details

#projectorObject (readonly)

Returns the value of attribute projector.



6
7
8
# File 'lib/granite/projector/error.rb', line 6

def projector
  @projector
end