Use it for questions about the queue of messages displayed to the client.
The Drupal status message system consists of a pair of get/set functions (drupal_get_messages()
& drupal_set_message()
) that pop/push messages into a user session queue. It has a render function called theme_status_messages()
that renders a message based on its type.