<?php namespace Elementor\Data\V2\Base\Exceptions; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class Error_500 extends Data_Exception { protected function get_http_error_code() { return 500; } public function get_code() { return 'internal-server-error'; } public function get_message() { return 'Something went wrong'; } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
data-exception.php | File | 1.11 KB | 0644 |
|
error-404.php | File | 347 B | 0644 |
|
error-500.php | File | 366 B | 0644 |
|
wp-error-exception.php | File | 369 B | 0644 |
|