# templately/3.7.3/includes/Builder/Conditions/Error.php

Templately – Elementor &amp; Gutenberg Template Library: 6500+ Free &amp; Pro Ready Templates And Cloud!, version 3.7.3. 25 lines.

- Page: https://pluginprobe.com/plugins/templately/3.7.3/code/includes/Builder/Conditions/Error.php
- Raw: https://pluginprobe.com/plugins/templately/3.7.3/raw/includes/Builder/Conditions/Error.php
- Modified: 2026-08-05T07:50:56+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/templately/3.7.3/code/includes/Builder/Conditions/Error.php#L10-L20`.

```php
<?php

namespace Templately\Builder\Conditions;

class Error extends Condition {
	public function get_priority(): int {
		return 20;
	}

	public function get_label(): string {
		return __( '404 Error', 'templately' );
	}

	public function get_type(): string {
		return 'singular';
	}

	public function get_name(): string {
		return 'error';
	}

	public function check( $args = [] ): bool {
		return is_404();
	}
}
```
