Generated PDOExceptions now contains MySQL error code.