Return a themed error message. REMOVE: this function is deprecated an no longer used in core.

Parameters

$message: The error message to be themed.

Return value

A string containing the error output.

Related topics

1 theme call to theme_error()
fileupload_form in developer/examples/fileupload.module

File

includes/theme.inc, line 799
The theme system, which controls the output of Drupal.

Code

function theme_error($message) {
  return '<div class="error">' . $message . '</div>';
}