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\DatapackageValidationError;
class DatapackageValidationFailedException extends \Exception
{
public $validationErrors;
public function __construct($validationErrors)
$this->validationErrors = $validationErrors;
parent::__construct('Datapackage validation failed: '.DatapackageValidationError::getErrorMessages($validationErrors));
}