replace Exception on InitializationException
This commit is contained in:
2
cache/Cacher.php
vendored
2
cache/Cacher.php
vendored
@ -27,7 +27,7 @@ class Cacher
|
||||
}
|
||||
$cache = new $cacher($config);
|
||||
if (!$cache instanceof Cache) {
|
||||
throw new Exception('Cache driver "' . $cacher . '" must extends Cache');
|
||||
throw new InitializationException('Cache driver "' . $cacher . '" must extends Cache');
|
||||
}
|
||||
self::$caches[$cacher] = $cache;
|
||||
}
|
||||
|
Reference in New Issue
Block a user