Exception: Angus::Marshalling::InvalidGetterError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/angus/marshallings/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(getter, bc_first_line = nil) ⇒ InvalidGetterError

Returns a new instance of InvalidGetterError.



6
7
8
9
# File 'lib/angus/marshallings/exceptions.rb', line 6

def initialize(getter, bc_first_line = nil)
  @getter = getter
  @bc_first_line = bc_first_line
end

Instance Method Details

#messageObject



11
12
13
# File 'lib/angus/marshallings/exceptions.rb', line 11

def message
  "The requested getter (#@getter) does not exist. #@bc_first_line"
end