20240412#1
This commit is contained in:
1 parent
035783e264
commit
c2d2ad9177
20 files changed
+292
-50
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user