8000 Make sure Serializer::denormalize have show what exception it throws · symfony/symfony@bca846b · GitHub
[go: up one dir, main page]

Skip to content

Commit bca846b

Browse files
committed
Make sure Serializer::denormalize have show what exception it throws
1 parent 52839be commit bca846b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Component/Serializer/Serializer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ public function normalize($data, string $format = null, array $context = [])
197197
* {@inheritdoc}
198198
*
199199
* @throws NotNormalizableValueException
200+
* @throws PartialDenormalizationException Occurs when one or more properties of $type fails to denormalize
200201
*/
201202
public function denormalize($data, string $type, string $format = null, array $context = [])
202203
{

0 commit comments

Comments
 (0)
0