for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Http\Discovery\Exception;
/**
* Thrown when all discovery strategies fails to find a resource.
*
* @author Tobias Nyholm <[email protected]>
*/
final class DiscoveryFailedException extends \Exception
{
* @var array
private $exceptions;
* @param $exceptions
public function __construct($message, array $exceptions = [])
$this->exceptions = $exceptions;
parent::__construct($message, 0, array_shift($exceptions));
}
* @return array
public function getExceptions()
return $this->exceptions;