Deserialization 'Array to string conversion' better error

Sometimes I do mistake and have @Type("string") for in reality array data. When i run my tests, i get common php notice 'Array to string conversion' without any trace to current object etc (only stacktrace to ... vendor\jms\serializer\src\JMS\Serializer\GenericDeserializationVisitor.php).
I added LogicException with current objects, which hints me source of my error more accurately.