for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Nicofuma\SwaggerBundle\Exception;
class FormatConstraintException extends \RuntimeException
{
/** @var string[] */
private $errors;
public function __construct(array $errors)
parent::__construct();
$this->errors = $errors;
}
/**
* @return string[]
*/
public function getErrors()
return $this->errors;