Warnings in MySQL for Python
In addition to errors, MySQL for Python also supports a Warning
class. This exception is raised for warnings like data truncation when executing an INSERT
statement. It may be caught just like an error
, but otherwise will not interrupt the flow of a program.