1
0
mirror of https://github.com/Chouchen/ShikiryuRSS.git synced 2024-05-18 18:01:31 +02:00
ShikiryuRSS/src/Exception/InvalidPropertyException.php

12 lines
300 B
PHP
Raw Normal View History

<?php
namespace Shikiryu\SRSS\Exception;
class InvalidPropertyException extends SRSSException
{
public function __construct(string $object, string $property, ?string $value)
{
parent::__construct(sprintf('Invalid property `%s` = `%s` in `%s`', $property, $value, $object));
}
}