method
error_number
v3.2.8 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter
error_number(exception)public
Must return the Mysql error number from the exception, if the exception has an error number.