WordPress at a glance
function is not described

comment_footer_die() WP 1.0

Display error message at bottom of comments.

No Hooks.

Return

Nothing (null).

Usage

comment_footer_die( $msg );
$msg(string) (required)
Error Message. Assumed to contain HTML and be sanitized.

Code of comment footer die: wp-admin/includes/comment.php VER 5.1.1

<?php
function comment_footer_die( $msg ) {
	echo "<div class='wrap'><p>$msg</p></div>";
	include( ABSPATH . 'wp-admin/admin-footer.php' );
	die;
}