We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6a1196 commit c57ed44Copy full SHA for c57ed44
src/Exceptions/SessionException.php
@@ -0,0 +1,25 @@
1
+<?php
2
+
3
+/*
4
+ * This file is part of https://github.com/josantonius/php-session repository.
5
+ *
6
+ * (c) Josantonius <[email protected]>
7
8
+ * For the full copyright and license information, please view the LICENSE
9
+ * file that was distributed with this source code.
10
+ */
11
12
+namespace Josantonius\Session\Exceptions;
13
14
+/**
15
+ * You can use an exception and error handler with this library.
16
17
+ * @link https://github.com/josantonius/php-errorhandler
18
19
+class SessionException extends \Exception
20
+{
21
+ public function __construct(string $message = 'Unknown error')
22
+ {
23
+ parent::__construct(rtrim($message, '.') . '.');
24
+ }
25
+}
0 commit comments