Heyday\CacheInclude\SilverStripe\RequestCacheMiddleware::getIsInErrorDirector
Checks whether the middleware has been called by ErrorDirector instead of Director, indicating that we're in an unstable state unsuitable for caching (e.g. dev/build)
Signature
protected function getIsInErrorDirector()
Returns
- bool