title: How to raise an error within a MySQL function
body: <p>I've created a MySQL function and would like to raise an error if the values passed for the parameters are invalid. What are my options for raising an error within a MySQL function?</p>