Last change
on this file since 353 was 347, checked in by roby, 4 years ago |
Aggiornamento per compatibilità con php7.4
|
File size:
700 bytes
|
Line | |
---|
1 | <?php
|
---|
2 | /**
|
---|
3 | * Html2Pdf Library - Exception class
|
---|
4 | *
|
---|
5 | * HTML => PDF converter
|
---|
6 | * distributed under the OSL-3.0 License
|
---|
7 | *
|
---|
8 | * @package Html2pdf
|
---|
9 | * @author Laurent MINGUET <webmaster@html2pdf.fr>
|
---|
10 | * @copyright 2017 Laurent MINGUET
|
---|
11 | */
|
---|
12 |
|
---|
13 | namespace Spipu\Html2Pdf\Exception;
|
---|
14 |
|
---|
15 | /**
|
---|
16 | * Html2Pdf Exception
|
---|
17 | */
|
---|
18 | class Html2PdfException extends \Exception
|
---|
19 | {
|
---|
20 | /**
|
---|
21 | * ERROR CODE 0
|
---|
22 | * @var int
|
---|
23 | */
|
---|
24 | const ERROR_CODE = 0;
|
---|
25 |
|
---|
26 | /**
|
---|
27 | * Construct the exception.
|
---|
28 | *
|
---|
29 | * @param string $message The Exception message to throw.
|
---|
30 | *
|
---|
31 | * @return Html2PdfException
|
---|
32 | */
|
---|
33 | public function __construct($message)
|
---|
34 | {
|
---|
35 | parent::__construct($message, static::ERROR_CODE);
|
---|
36 | }
|
---|
37 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.