mirror of
https://github.com/Chouchen/ShikiryuRSS.git
synced 2024-05-18 18:01:31 +02:00
12 lines
300 B
PHP
12 lines
300 B
PHP
|
<?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));
|
||
|
}
|
||
|
}
|