Exception: Axn::ContractViolation::ReservedAttributeError

Inherits:
Axn::ContractViolation show all
Defined in:
lib/axn/exceptions.rb

Instance Method Summary collapse

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

#messageObject



41
# File 'lib/axn/exceptions.rb', line 41

def message = "Cannot call expects or exposes with reserved field name: #{@name}"