one-click-accessibility/classes/database/exceptions/missing-table-exception.php
Raz Ohad ae23a192da
♻️ Initial Refactor commit [APP-687] (#109)
* Initial refactor commit

*  Added build and tests CI/CD

* PR Rejects

* Rejects leftover
2024-11-05 14:06:44 +02:00

18 lines
550 B
PHP

<?php
namespace EA11y\Classes\Database\Exceptions;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/**
* Class Missing_Table_Exception
*
* represent the exception thrown when the Entry's get_helper_class() function is not properly overridden
* to return the Table-derivative class which represents the Entry's database representation.
*/
class Missing_Table_Exception extends \Exception {
protected $message = 'You must provide a PlatformCommon\Database\Table in extending class';
protected $code = 'missing_table';
}