Selectively return errors to client.