Add type of error.