method

error_number

error_number(exception)
public

Must return the MySQL error number from the exception, if the exception has an error number.