Allow memcache error handler to be set by users