Edit File by line
/home/zeestwma/richards.../wp-conte.../plugins/elemento.../core/utils
File: exceptions.php
<?php
[0] Fix | Delete
namespace Elementor\Core\Utils;
[1] Fix | Delete
[2] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[3] Fix | Delete
exit; // Exit if accessed directly.
[4] Fix | Delete
}
[5] Fix | Delete
[6] Fix | Delete
/**
[7] Fix | Delete
* Elementor exceptions.
[8] Fix | Delete
*
[9] Fix | Delete
* Elementor exceptions handler class is responsible for handling exceptions.
[10] Fix | Delete
*
[11] Fix | Delete
* @since 2.0.0
[12] Fix | Delete
*/
[13] Fix | Delete
class Exceptions {
[14] Fix | Delete
[15] Fix | Delete
/**
[16] Fix | Delete
* HTTP status code for bad request error.
[17] Fix | Delete
*/
[18] Fix | Delete
const BAD_REQUEST = 400;
[19] Fix | Delete
[20] Fix | Delete
/**
[21] Fix | Delete
* HTTP status code for unauthorized access error.
[22] Fix | Delete
*/
[23] Fix | Delete
const UNAUTHORIZED = 401;
[24] Fix | Delete
[25] Fix | Delete
/**
[26] Fix | Delete
* HTTP status code for forbidden access error.
[27] Fix | Delete
*/
[28] Fix | Delete
const FORBIDDEN = 403;
[29] Fix | Delete
[30] Fix | Delete
/**
[31] Fix | Delete
* HTTP status code for resource that could not be found.
[32] Fix | Delete
*/
[33] Fix | Delete
const NOT_FOUND = 404;
[34] Fix | Delete
[35] Fix | Delete
/**
[36] Fix | Delete
* HTTP status code for internal server error.
[37] Fix | Delete
*/
[38] Fix | Delete
const INTERNAL_SERVER_ERROR = 500;
[39] Fix | Delete
}
[40] Fix | Delete
[41] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function