It's possible to generate a "flash" error message at the top of the control panel like this:
craft()->userSession->setError('Your custom plugin error message.');
The message appears at the top of the control panel when the page loads, but then fades away after a few seconds. Is there any way to "pin" the message to the top of the page, so it stays indefinitely?