Exception: Axn::ContractViolation::ReservedAttributeError
- Inherits:
-
Axn::ContractViolation
- Object
- StandardError
- Axn::ContractViolation
- Axn::ContractViolation::ReservedAttributeError
- Defined in:
- lib/axn/exceptions.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ ReservedAttributeError
constructor
A new instance of ReservedAttributeError.
- #message ⇒ Object
Constructor Details
#initialize(name) ⇒ ReservedAttributeError
Returns a new instance of ReservedAttributeError.
36 37 38 39 |
# File 'lib/axn/exceptions.rb', line 36 def initialize(name) @name = name super() end |
Instance Method Details
#message ⇒ Object
41 |
# File 'lib/axn/exceptions.rb', line 41 def = "Cannot call expects or exposes with reserved field name: #{@name}" |