MySQL 9.0 Reference Manual Including MySQL NDB Cluster 9.0

27.3.6.6 Warning Object

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.