Exception: Angus::Marshalling::InvalidGetterError
- Inherits:
-
StandardError
- Object
- StandardError
- Angus::Marshalling::InvalidGetterError
- Defined in:
- lib/angus/marshallings/exceptions.rb
Instance Method Summary collapse
-
#initialize(getter, bc_first_line = nil) ⇒ InvalidGetterError
constructor
A new instance of InvalidGetterError.
- #message ⇒ Object
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
#message ⇒ Object
11 12 13 |
# File 'lib/angus/marshallings/exceptions.rb', line 11 def "The requested getter (#@getter) does not exist. #@bc_first_line" end |