PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / 1.9.15
WCPOS – Point of Sale (POS) plugin for WooCommerce v1.9.15
1.10.19 1.10.18 1.10.17 1.10.16 1.10.15 1.10.13 1.10.14 1.10.12 1.10.11 1.10.10 1.10.9 1.10.8 untagged-3d9b7ccddc54df87c672 1.10.7 1.10.6 1.10.5 1.10.3 1.10.4 1.10.2 1.10.1 1.10.0 1.9.17 1.9.15 1.9.16 1.9.14 All 163 releases
woocommerce-pos / vendor_prefixed / phpfastcache / phpfastcache / lib / Phpfastcache / Exceptions / PhpfastcacheIOException.php

PhpfastcacheIOException.php in WCPOS – Point of Sale (POS) plugin for WooCommerce 1.9.15, at vendor_prefixed/phpfastcache/phpfastcache/lib/Phpfastcache/Exceptions/PhpfastcacheIOException.php

39 lines 1023 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 *
5 * This file is part of phpFastCache.
6 *
7 * @license MIT License (MIT)
8 *
9 * For full copyright and license information, please see the docs/CREDITS.txt file.
10 *
11 * @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> https://www.phpfastcache.com
12 * @author Georges.L (Geolim4) <contact@geolim4.com>
13 *
14 */
15 declare (strict_types=1);
16 namespace WCPOS\Vendor\Phpfastcache\Exceptions;
17
18 /**
19 * Class PhpfastcacheIOException
20 * @package Phpfastcache\Exceptions
21 * @since v6
22 */
23 class PhpfastcacheIOException extends PhpfastcacheCoreException
24 {
25 /**
26 * @inheritdoc
27 */
28 public function __construct($message = "", $code = 0, $previous = null)
29 {
30 $lastError = \error_get_last();
31 if ($lastError) {
32 $message .= "\n";
33 $message .= "Additional information provided by error_get_last():\n";
34 $message .= "{$lastError['message']} in {$lastError['file']} line {$lastError['line']}";
35 }
36 parent::__construct($message, $code, $previous);
37 }
38 }
39