MySQL 9.3 Reference Manual Including MySQL NDB Cluster 9.3

27.3.6.8 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.