Spaces:
Runtime error
Runtime error
Download symfony/serializer/Exception/PartialDenormalizationException.php from Alcazard/vibe-coding-api: direct link, hf CLI and curl.
- Browser
- Download file 851 Bytes
-
https://huggingface.co/spaces/Alcazard/vibe-coding-api/resolve/main/symfony/serializer/Exception/PartialDenormalizationException.php
- Command line
-
hf download hf://spaces/Alcazard/vibe-coding-api/symfony/serializer/Exception/PartialDenormalizationException.php
-
curl -L -o PartialDenormalizationException.php https://huggingface.co/spaces/Alcazard/vibe-coding-api/resolve/main/symfony/serializer/Exception/PartialDenormalizationException.php
851 Bytes
| /* | |
| * This file is part of the Symfony package. | |
| * | |
| * (c) Fabien Potencier <fabien@symfony.com> | |
| * | |
| * For the full copyright and license information, please view the LICENSE | |
| * file that was distributed with this source code. | |
| */ | |
| namespace Symfony\Component\Serializer\Exception; | |
| /** | |
| * @author Grégoire Pineau <lyrixx@lyrixx.info> | |
| */ | |
| class PartialDenormalizationException extends UnexpectedValueException | |
| { | |
| /** | |
| * @param NotNormalizableValueException[] $errors | |
| */ | |
| public function __construct( | |
| private mixed $data, | |
| private array $errors, | |
| ) { | |
| } | |
| /** | |
| * @return mixed | |
| */ | |
| public function getData() | |
| { | |
| return $this->data; | |
| } | |
| /** | |
| * @return NotNormalizableValueException[] | |
| */ | |
| public function getErrors(): array | |
| { | |
| return $this->errors; | |
| } | |
| } | |