���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/zhaagvlk/public_html/wp-includes/Requests/library/block-bindings/Exception.php.tar
���ѧ٧ѧ�
home/zhaagvlk/public_html/wp-includes/Requests/src/Exception.php 0000644 00000002132 15157403301 0021105 0 ustar 00 <?php /** * Exception for HTTP requests * * @package Requests\Exceptions */ namespace WpOrg\Requests; use Exception as PHPException; /** * Exception for HTTP requests * * @package Requests\Exceptions */ class Exception extends PHPException { /** * Type of exception * * @var string */ protected $type; /** * Data associated with the exception * * @var mixed */ protected $data; /** * Create a new exception * * @param string $message Exception message * @param string $type Exception type * @param mixed $data Associated data * @param integer $code Exception numerical code, if applicable */ public function __construct($message, $type, $data = null, $code = 0) { parent::__construct($message, $code); $this->type = $type; $this->data = $data; } /** * Like {@see \Exception::getCode()}, but a string code. * * @codeCoverageIgnore * @return string */ public function getType() { return $this->type; } /** * Gives any relevant data * * @codeCoverageIgnore * @return mixed */ public function getData() { return $this->data; } } home/zhaagvlk/public_html/wp-includes/PHPMailer/Exception.php 0000644 00000002350 15157421324 0020273 0 ustar 00 <?php /** * PHPMailer Exception class. * PHP Version 5.5. * * @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project * * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk> * @author Jim Jagielski (jimjag) <jimjag@gmail.com> * @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net> * @author Brent R. Matzelle (original founder) * @copyright 2012 - 2020 Marcus Bointon * @copyright 2010 - 2012 Jim Jagielski * @copyright 2004 - 2009 Andy Prevost * @license https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html GNU Lesser General Public License * @note This program is distributed in the hope that it will be useful - WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. */ namespace PHPMailer\PHPMailer; /** * PHPMailer exception handler. * * @author Marcus Bointon <phpmailer@synchromedia.co.uk> */ class Exception extends \Exception { /** * Prettify error message output. * * @return string */ public function errorMessage() { return '<strong>' . htmlspecialchars($this->getMessage(), ENT_COMPAT | ENT_HTML401) . "</strong><br />\n"; } } home/zhaagvlk/public_html/wp-includes/Text/Exception.php 0000644 00000000361 15157426165 0017446 0 ustar 00 <?php /** * Exception for errors from the Text_Diff package. * * {@internal This is a WP native addition to the external Text_Diff package.} * * @package WordPress * @subpackage Text_Diff */ class Text_Exception extends Exception {} home/zhaagvlk/web.zhaap.com/vendor__1b5d5ff/sebastian/cli-parser/src/exceptions/Exception.php 0000644 00000000554 15157443124 0026252 0 ustar 00 <?php declare(strict_types=1); /* * This file is part of sebastian/cli-parser. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace SebastianBergmann\CliParser; use Throwable; interface Exception extends Throwable { } home/zhaagvlk/public_html/wp-includes/SimplePie/src/Exception.php 0000644 00000000543 15157515233 0021175 0 ustar 00 <?php // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue // SPDX-License-Identifier: BSD-3-Clause declare(strict_types=1); namespace SimplePie; use Exception as NativeException; /** * General SimplePie exception class */ class Exception extends NativeException { } class_alias('SimplePie\Exception', 'SimplePie_Exception'); home/zhaagvlk/web.zhaap.com/vendor__1b5d5ff/sebastian/comparator/src/exceptions/Exception.php 0000644 00000000555 15157544014 0026361 0 ustar 00 <?php declare(strict_types=1); /* * This file is part of sebastian/comparator. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace SebastianBergmann\Comparator; use Throwable; interface Exception extends Throwable { } home/zhaagvlk/web.zhaap.com/vendor__1b5d5ff/doctrine/dbal/src/Exception.php 0000644 00000011713 15157653530 0022573 0 ustar 00 <?php namespace Doctrine\DBAL; use Doctrine\DBAL\Platforms\AbstractPlatform; use Doctrine\DBAL\Types\Type; use SensitiveParameter; use function get_class; use function gettype; use function implode; use function is_object; use function spl_object_hash; use function sprintf; /** @psalm-immutable */ class Exception extends \Exception { public static function notSupported(string $method): self { return new self(sprintf("Operation '%s' is not supported by platform.", $method)); } /** @param mixed $invalidPlatform */ public static function invalidPlatformType($invalidPlatform): self { if (is_object($invalidPlatform)) { return new self( sprintf( "Option 'platform' must be a subtype of '%s', instance of '%s' given", AbstractPlatform::class, get_class($invalidPlatform), ), ); } return new self( sprintf( "Option 'platform' must be an object and subtype of '%s'. Got '%s'", AbstractPlatform::class, gettype($invalidPlatform), ), ); } /** * Returns a new instance for an invalid specified platform version. * * @param string $version The invalid platform version given. * @param string $expectedFormat The expected platform version format. */ public static function invalidPlatformVersionSpecified(string $version, string $expectedFormat): self { return new self( sprintf( 'Invalid platform version "%s" specified. ' . 'The platform version has to be specified in the format: "%s".', $version, $expectedFormat, ), ); } /** @param string|null $url The URL that was provided in the connection parameters (if any). */ public static function driverRequired( #[SensitiveParameter] ?string $url = null ): self { if ($url !== null) { return new self( sprintf( "The options 'driver' or 'driverClass' are mandatory if a connection URL without scheme " . 'is given to DriverManager::getConnection(). Given URL: %s', $url, ), ); } return new self("The options 'driver' or 'driverClass' are mandatory if no PDO " . 'instance is given to DriverManager::getConnection().'); } /** @param string[] $knownDrivers */ public static function unknownDriver(string $unknownDriverName, array $knownDrivers): self { return new self("The given 'driver' " . $unknownDriverName . ' is unknown, ' . 'Doctrine currently supports only the following drivers: ' . implode(', ', $knownDrivers)); } public static function invalidWrapperClass(string $wrapperClass): self { return new self("The given 'wrapperClass' " . $wrapperClass . ' has to be a ' . 'subtype of \Doctrine\DBAL\Connection.'); } public static function invalidDriverClass(string $driverClass): self { return new self( "The given 'driverClass' " . $driverClass . ' has to implement the ' . Driver::class . ' interface.', ); } public static function noColumnsSpecifiedForTable(string $tableName): self { return new self('No columns specified for table ' . $tableName); } public static function typeExists(string $name): self { return new self('Type ' . $name . ' already exists.'); } public static function unknownColumnType(string $name): self { return new self('Unknown column type "' . $name . '" requested. Any Doctrine type that you use has ' . 'to be registered with \Doctrine\DBAL\Types\Type::addType(). You can get a list of all the ' . 'known types with \Doctrine\DBAL\Types\Type::getTypesMap(). If this error occurs during database ' . 'introspection then you might have forgotten to register all database types for a Doctrine Type. Use ' . 'AbstractPlatform#registerDoctrineTypeMapping() or have your custom types implement ' . 'Type#getMappedDatabaseTypes(). If the type name is empty you might ' . 'have a problem with the cache or forgot some mapping information.'); } public static function typeNotFound(string $name): self { return new self('Type to be overwritten ' . $name . ' does not exist.'); } public static function typeNotRegistered(Type $type): self { return new self( sprintf('Type of the class %s@%s is not registered.', get_class($type), spl_object_hash($type)), ); } public static function typeAlreadyRegistered(Type $type): self { return new self( sprintf('Type of the class %s@%s is already registered.', get_class($type), spl_object_hash($type)), ); } } home/zhaagvlk/web.zhaap.com/vendor__1b5d5ff/doctrine/dbal/src/Driver/Exception.php 0000644 00000000624 15160450773 0024023 0 ustar 00 <?php declare(strict_types=1); namespace Doctrine\DBAL\Driver; use Throwable; /** @psalm-immutable */ interface Exception extends Throwable { /** * Returns the SQLSTATE the driver was in at the time the error occurred. * * Returns null if the driver does not provide a SQLSTATE for the error occurred. * * @return string|null */ public function getSQLState(); }
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�