for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace OhDear\PhpSdk\Exceptions;
use Exception;
class ValidationException extends Exception
{
public array $errors = [];
public function __construct(array $errors)
$this->errors = $errors;
parent::__construct('The given data failed to pass validation. ' . print_r($this->errors, true));
}