for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace RxThunder\Core\Exception;
use RxThunder\Core\Model\DataModel;
final class DataModelException extends \Exception
{
private DataModel $data_model;
public function __construct(DataModel $data_model, $message = "", $code = 0, \Throwable $previous = null)
parent::__construct($message, $code, $previous);
$this->data_model = $data_model;
}
public function dataModel(): DataModel
return $this->data_model;