add any errors to the hash