Spaces:
No application file
No application file
File size: 454 Bytes
d2897cd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<?php
declare(strict_types=1);
namespace Mautic\IntegrationsBundle\Sync\Exception;
class FieldNotFoundException extends \Exception
{
/**
* @param int $code
* @param \Exception|null $previous
*/
public function __construct($field, $object, $code = 0, ?\Throwable $previous = null)
{
parent::__construct(sprintf('The %s field is not mapped for the %s object.', $field, $object), $code, $previous);
}
}
|