Edit File: Validation.php
<?php declare(strict_types=1); namespace Vonage\Client\Exception; use Throwable; class Validation extends Request { public function __construct( string $message = '', int $code = 0, ?Throwable $previous = null, private readonly array $errors = [] ) { parent::__construct($message, $code, $previous); } public function getValidationErrors(): array { return $this->errors; } }
Back to File Manager