Exception: InstantCache::ConnexionLost

Inherits:
Exception
  • Object
show all
Defined in:
lib/instantcache/exceptions.rb

Overview

If the instance variable is somehow overwritten, the methods that try to treat it as a Blob or Counter will fail. This exception tries to make that failure less mysterious.

Constant Summary collapse

MessageFormat =

raise ConnexionLost

=> InstantCache::ConnexionLost: instance variable no longer connected to cache

raise Destroyed.new('arg')

=> InstantCache::ConnexionLost: instance variable "@arg" no longer connected to cache
[
 'instance variable no longer connected to cache',
 'instance variable "@%s" no longer connected to cache',
]

Method Summary

Methods inherited from Exception

#initialize, #message, #to_s

Constructor Details

This class inherits a constructor from InstantCache::Exception