PluginProbe
Elementor Website Builder – more than just a page builder / 4.2.0
Elementor Website Builder – more than just a page builder v4.2.0
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
elementor / data / v2 / base / exceptions / wp-error-exception.php

wp-error-exception.php in Elementor Website Builder – more than just a page builder 4.2.0, at data/v2/base/exceptions/wp-error-exception.php

15 lines 370 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace Elementor\Data\V2\Base\Exceptions;
3
4 if ( ! defined( 'ABSPATH' ) ) {
5 exit; // Exit if accessed directly.
6 }
7
8 class WP_Error_Exception extends Data_Exception {
9 public function __construct( \WP_Error $wp_error ) {
10 parent::__construct( $wp_error->get_error_message(), $wp_error->get_error_code(), [
11 'status' => $wp_error->get_error_code(),
12 ] );
13 }
14 }
15