# wordpress-seo/trunk/src/bulk-editor/domain/updates/update-error.php

Yoast SEO – Advanced SEO with real-time guidance and built-in AI, version trunk. 31 lines.

- Page: https://pluginprobe.com/plugins/wordpress-seo/trunk/code/src/bulk-editor/domain/updates/update-error.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/trunk/raw/src/bulk-editor/domain/updates/update-error.php
- Modified: 2026-07-07T11:18:50+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/wordpress-seo/trunk/code/src/bulk-editor/domain/updates/update-error.php#L10-L20`.

```php
<?php

// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
namespace Yoast\WP\SEO\Bulk_Editor\Domain\Updates;

/**
 * This class holds the error codes an update can fail with.
 */
class Update_Error {

	/**
	 * The current user is not allowed to edit the post.
	 */
	public const FORBIDDEN = 'forbidden';

	/**
	 * The post does not exist.
	 */
	public const NOT_FOUND = 'not_found';

	/**
	 * The post type is not supported by the bulk editor.
	 */
	public const INVALID_POST_TYPE = 'invalid_post_type';

	/**
	 * Saving the update failed.
	 */
	public const SAVE_FAILED = 'save_failed';
}

```
