Skip to content

InvalidCacheKeyException

Thrown for a cache key PSR-16 does not permit: empty, or containing one of the characters reserved by PSR-16 §1.3 ({}()/\@:).

class InvalidCacheKeyException extends InvalidArgumentException implements InvalidArgumentException

ExtendsInvalidArgumentException
ImplementsInvalidArgumentException
Since3.1.1
SourceCache/InvalidCacheKeyException.php

These come from an ancestor and are documented where they are declared.

MethodDeclared inDescription
getCode()Exception
getFile()Exception
getLine()Exception
getMessage()Exception
getPrevious()Exception
getTrace()Exception
getTraceAsString()Exception