Exception: Ripple::PropertyTypeMismatch
- Inherits:
-
StandardError
- Object
- StandardError
- Ripple::PropertyTypeMismatch
- Includes:
- Translation
- Defined in:
- ripple/lib/ripple/property_type_mismatch.rb
Overview
Exception raised when the value assigned to a document property cannot be coerced into the property’s defined type.
Instance Method Summary (collapse)
-
- (PropertyTypeMismatch) initialize(klass, value)
constructor
A new instance of PropertyTypeMismatch.
Methods included from Translation
Methods included from Riak::Util::Translation
Constructor Details
- (PropertyTypeMismatch) initialize(klass, value)
A new instance of PropertyTypeMismatch
22 23 24 |
# File 'ripple/lib/ripple/property_type_mismatch.rb', line 22 def initialize(klass, value) super t("property_type_mismatch", :class => klass, :value => value.inspect) end |