BlockMarkup
1 week ago
CSS
1 week ago
DataFormatConsumer
1 week ago
DataFormatProducer
1 week ago
EntityReader
1 week ago
EntityWriter
1 week ago
Importer
1 week ago
URL
1 week ago
vendor-patched
1 week ago
LICENSE.md
1 week ago
README.md
1 week ago
class-dataliberationexception.php
1 week ago
class-dataliberationhtmlprocessor.php
1 week ago
class-importentity.php
1 week ago
composer.json
1 week ago
rector.php
1 week ago
class-dataliberationexception.php
19 lines
| 1 | <?php |
| 2 | |
| 3 | namespace WordPress\DataLiberation; |
| 4 | |
| 5 | use Exception; |
| 6 | |
| 7 | /** |
| 8 | * Represents an error that occurs during the data liberation process. |
| 9 | */ |
| 10 | class DataLiberationException extends Exception { |
| 11 | |
| 12 | public $code_str; |
| 13 | |
| 14 | public function __construct( $code_str = '', $message = '', $code = 0, $previous = null ) { |
| 15 | parent::__construct( $message, $code, $previous ); |
| 16 | $this->code_str = $code_str; |
| 17 | } |
| 18 | } |
| 19 |