for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace JDecool\JsonFeed\Exceptions;
use Exception;
class InvalidFeedException extends Exception
{
/**
* @return InvalidFeedException
*/
public static function invalidJsonException()
return new self('Invalid JSONFeed string');
}
public static function undefinedVersionException()
return new self('Undefined JSONFeed version');
* @param string $property
public static function invalidFeedProperty($property)
return new self(sprintf('Invalid feed property "%s"', $property));
public static function invalidItemProperty($property)
return new self(sprintf('Invalid item property "%s"', $property));
public static function invalidAuthorProperty($property)
return new self(sprintf('Invalid author property "%s"', $property));