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

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

- Page: https://pluginprobe.com/plugins/elementor/3.24.5/code/data/v2/base/exceptions/error-404.php
- Raw: https://pluginprobe.com/plugins/elementor/3.24.5/raw/data/v2/base/exceptions/error-404.php
- Modified: 2023-04-23T11:22:46+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.24.5/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';
	}
}

```
