onModelError

Runs when a model call throws; may swallow the error by returning a response.