Exception: Motion::InvalidSerializedStateError
- Inherits:
-
SerializedComponentError
- Object
- StandardError
- Error
- SerializedComponentError
- Motion::InvalidSerializedStateError
- Defined in:
- lib/motion/errors.rb
Instance Method Summary collapse
-
#initialize ⇒ InvalidSerializedStateError
constructor
A new instance of InvalidSerializedStateError.
Constructor Details
#initialize ⇒ InvalidSerializedStateError
Returns a new instance of InvalidSerializedStateError.
94 95 96 97 98 99 100 101 102 |
# File 'lib/motion/errors.rb', line 94 def initialize super( "The serialized state of your component is not valid.\n" \ "\n" \ "Hint: Ensure that you have not tampered with the contents of data " \ "attributes added by Motion in the DOM or changed the value of " \ "`Motion.config.secret`." ) end |