You can display error messages to users from within a script.
About this task
When you are declaring the message in the Database Configuration
application, the message is identified by the combination of message
group and message key. The message might also contain parameters that
are resolved at run time.