20240423#1

This commit is contained in:
User
2024-04-23 05:15:45 +03:00
parent 4ad36c6034
commit 009832a046
3 changed files with 56 additions and 19 deletions

View File

@@ -0,0 +1,15 @@
<?php
namespace Base\Domain;
use Throwable;
class DomainException extends \Exception {
public array $data;
public function __construct($message="", $code=0, array $data = [], Throwable $previous=null) {
parent::__construct($message, $code, $previous);
$this->data = $data;
}
}