Файловый менеджер - Редактировать - /home/ephorei/www/wp-includes/images/media/q2m9hb/Exceptions.tar
Назад
WPConsoleException.php 0000644 00000002144 15006152441 0011004 0 ustar 00 <?php namespace WPConsole\Exceptions; use Exception; class WPConsoleException extends Exception { /** * Error code * * @since 1.3.0 * * @var string */ protected $error_code = ''; /** * Class constructor * * @since 1.3.0 * * @param string $error_code * @param string $message * @param int $status_code */ public function __construct( $error_code, $message, $status_code = 422 ) { $this->error_code = $error_code; parent::__construct( $message, $status_code ); } /** * Get error code * * @since 1.3.0 * * @return string */ final public function get_error_code() { return $this->error_code; } /** * Get error message * * @since 1.3.0 * * @return string */ final public function get_message() { return $this->getMessage(); } /** * Get error status code * * @since 1.3.0 * * @return int */ final public function get_status_code() { return $this->getCode(); } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка