Added multiline parsing
This commit is contained in:
14
app/src/Exception/Parse/EmptyException.php
Normal file
14
app/src/Exception/Parse/EmptyException.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
namespace ProVM\Logview\Exception\Parse;
|
||||
|
||||
use Exception;
|
||||
|
||||
class EmptyException extends Exception
|
||||
{
|
||||
public function __construct(string $filename, int $line_number, ?Throwable $previous = null)
|
||||
{
|
||||
$message = "No content in {$filename} line {$line_number}";
|
||||
$code = '1001';
|
||||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user