# elementor/3.35.8/data/v2/base/exceptions/error-500.php

Elementor Website Builder – more than just a page builder, version 3.35.8. 22 lines.

- Page: https://pluginprobe.com/plugins/elementor/3.35.8/code/data/v2/base/exceptions/error-500.php
- Raw: https://pluginprobe.com/plugins/elementor/3.35.8/raw/data/v2/base/exceptions/error-500.php
- Modified: 2025-03-17T13:28:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/elementor/3.35.8/code/data/v2/base/exceptions/error-500.php#L10-L20`.

```php
<?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';
	}
}

```
