20240412#1

This commit is contained in:
User
2024-04-12 03:18:04 +03:00
parent 035783e264
commit c2d2ad9177
20 changed files with 292 additions and 50 deletions

View File

@@ -0,0 +1,16 @@
<?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;
}
}