* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ declare(strict_types=1); namespace PrestaShop\Module\PsxDesign\Exception; if (!defined('_PS_VERSION_')) { exit; } class PsxDesignFontsException extends PsxDesignException { /** * INFO SEVERITY 1-100 */ /** Thrown then invalid type is provided **/ public const INVALID_TYPE = 4; /** Thrown then invalid weight is provided **/ public const INVALID_WEIGHT = 5; /** * ERROR SEVERITY 201-300 */ /** SQL error, the font can not be upserted. **/ public const FAILED_TO_UPSERT_FONT = 201; /** Thrown then font does not exist and no font is provided from hook or database **/ public const NO_FONT_PROVIDED = 202; /** Error on stylesheet creation */ public const FAILED_TO_CREATE_STYLESHEET = 203; /** SQL error, the font can not be deleted. **/ public const FAILED_TO_DELETE_FONT = 204; }