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

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

- Page: https://pluginprobe.com/plugins/elementor/3.9.2/code/data/v2/base/exceptions/error-500.php
- Raw: https://pluginprobe.com/plugins/elementor/3.9.2/raw/data/v2/base/exceptions/error-500.php
- Modified: 2021-11-17T08:27:36+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.9.2/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';
	}
}

```
