The built-in function error is used to exit immediately with an error message.
error
Please see the page on errors for more information and usage.