# elementor/3.9.1/data/v2/base/exceptions/error-404.php

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

- Page: https://pluginprobe.com/plugins/elementor/3.9.1/code/data/v2/base/exceptions/error-404.php
- Raw: https://pluginprobe.com/plugins/elementor/3.9.1/raw/data/v2/base/exceptions/error-404.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.1/code/data/v2/base/exceptions/error-404.php#L10-L20`.

```php
<?php
namespace Elementor\Data\V2\Base\Exceptions;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

class Error_404 extends Data_Exception {

	protected function get_http_error_code() {
		return 404;
	}

	public function get_code() {
		return 'not-found';
	}

	public function get_message() {
		return '404 not found';
	}
}

```
