25 lines
435 B
PHP
25 lines
435 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* Copyright Andrea Heigl <andreas@heigl.org>
|
||
|
*
|
||
|
* Licenses under the MIT-license. For details see the included file LICENSE.md
|
||
|
*/
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace Org_Heigl\AuthLdap\Exception;
|
||
|
|
||
|
use Exception;
|
||
|
|
||
|
class Error extends Exception
|
||
|
{
|
||
|
public function __construct($message, $line = null)
|
||
|
{
|
||
|
parent::__construct($message);
|
||
|
if ($line) {
|
||
|
$this -> line = $line;
|
||
|
}
|
||
|
}
|
||
|
}
|