Added getLastError method to README