diff --git a/wp-includes/class-wp-error.php b/wp-includes/class-wp-error.php
index b048584..43f1032 100644
--- a/wp-includes/class-wp-error.php
+++ b/wp-includes/class-wp-error.php
@@ -62,6 +62,15 @@ public function __construct($code = '', $message = '', $data = '') {
 
 		if ( ! empty($data) )
 			$this->error_data[$code] = $data;
+
+		/**
+		 * Fires at the end of creating a WP_Error object
+		 *
+		 * @since 4.0.0
+		 *
+		 * @param WP_Error $this The WP_Error instance.
+		 */
+		do_action( 'create_wp_error', $this );
 	}
 
 	/**
