mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-06 20:54:20 +01:00
Add Sheet upload function
This commit is contained in:
18
src/Exception/SpreadsheetDataException.php
Normal file
18
src/Exception/SpreadsheetDataException.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Exception;
|
||||
|
||||
class SpreadsheetDataException extends SpreadsheetException
|
||||
{
|
||||
/** @param list<string> $errors */
|
||||
public function __construct(
|
||||
public readonly array $errors,
|
||||
string $message = '',
|
||||
int $code = 0,
|
||||
?\Throwable $previous = null,
|
||||
) {
|
||||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
}
|
||||
7
src/Exception/SpreadsheetException.php
Normal file
7
src/Exception/SpreadsheetException.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Exception;
|
||||
|
||||
class SpreadsheetException extends \Exception {}
|
||||
Reference in New Issue
Block a user