20240413#4

This commit is contained in:
User
2024-04-13 04:18:46 +03:00
parent 5b8ef84efa
commit da2bab7338
14 changed files with 16 additions and 15 deletions

View File

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