Update Member Import
This commit is contained in:
22
app/Exceptions/ImportRowException.php
Normal file
22
app/Exceptions/ImportRowException.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user