for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace dc\Exception;
class CollectionException extends \Exception
{
public static function noParentFound()
return new self(
'no parent found in collection'
);
}
public static function noChildFound($index)
sprintf('no child found on index %d', $index)