Files
aso/app/Exceptions/ImportRowException.php
2022-11-03 09:51:22 +07:00

23 lines
402 B
PHP
Executable File

<?php
namespace App\Exceptions;
use Exception;
use Throwable;
class ImportRowException extends Exception
{
protected $data = null;
public function __construct($message, $code = 0, Throwable $previous = null, $data)
{
parent::__construct($message, $code, $previous);
$this->data = $data;
}
public function getData()
{
return $this->data;
}
}