20240413#7

This commit is contained in:
User
2024-04-13 11:33:47 +03:00
parent 041ee17263
commit cb5408be4a
24 changed files with 16 additions and 15 deletions

View File

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