Symfony API
Class

Symfony\Component\Serializer\Exception\LogicException

class LogicException extends LogicException implements ExceptionInterface

LogicException.