Exception: Parse::Properties::TypecastError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/parse/model/core/properties.rb

Overview

Raised when a value assigned to a typed property cannot be converted to that type. Assignments refuse such values instead of storing a guess: before this, true assigned to an :integer became nil and was sent as a Delete operation that erased the column, and "" became 0. Values hydrated from a server response (untracked assignment) never raise; an unconvertible server value is kept as-is.