raise error if error is returned form submissions