nismod / smif

Simulation Modelling Integration Framework
http://www.itrc.org.uk
MIT License
22 stars 6 forks source link

Add section on raising errors from failing model runs #305

Open tomalrussell opened 5 years ago

tomalrussell commented 5 years ago

Add guidance to nismod.github.io and follow up in each of the models:

If the e.g. transport and energy models fail, then errors are not caught in the runtime environment and the programme exits silently. Errors should be raised, with messages passed to stderr so that our subprocess recognises that the programme has exited abnormally.

We need to decide on what to do in the following cases: