MySQL 9.1 Release Notes
Warning
represents a warning raised by
statement execution, and has the following properties:
You can also employ the JavaScript
Error
object, such as obtained from a try-catch block. See
Error Handling, for more information.