class Ardm::Property::InvalidValueError

Exception raised when Ardm is about to work with invalid property values.

Attributes

property[R]
value[R]

Public Class Methods

new(property, value) click to toggle source
Calls superclass method
# File lib/ardm/property/invalid_value_error.rb, line 8
def initialize(property, value)
  msg = "Invalid value %s for property %s (%s) on model %s" %
    [ value.inspect,
      property.name.inspect,
      property.class.name,
      property.model.name
    ]
  super(msg)
  @property = property
  @value = value
end