Files
rmphp-skeleton/src/Common/Services/DTOException.php
2024-04-12 03:18:04 +03:00

16 lines
294 B
PHP

<?php
namespace App\Common\Services;
use Throwable;
class DTOException extends \Exception {
public array $data;
public function __construct($message="", $code=0, array $data = [], Throwable $previous=null) {
parent::__construct($message, $code, $previous);
$this->data = $data;
}
}