for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace frictionlessdata\datapackage\Exceptions;
use frictionlessdata\datapackage\Validators\ResourceValidationError;
class ResourceValidationFailedException extends \Exception
{
public $validationErrors;
public function __construct($validationErrors)
$this->validationErrors = $validationErrors;
parent::__construct('resource validation failed: '.ResourceValidationError::getErrorMessages($validationErrors));
}