namespace Elementor\Core\Utils;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
* Elementor exceptions handler class is responsible for handling exceptions.
* HTTP status code for bad request error.
* HTTP status code for unauthorized access error.
const UNAUTHORIZED = 401;
* HTTP status code for forbidden access error.
* HTTP status code for resource that could not be found.
* HTTP status code for internal server error.
const INTERNAL_SERVER_ERROR = 500;