alan-turing-institute / simulate

A web framework for research simulations.
http://simulate.readthedocs.io
MIT License
4 stars 1 forks source link

Error Responses #48

Open klapaukh opened 6 years ago

klapaukh commented 6 years ago

Goal

All the different submodules need to be clear on how they return success vs failure conditions.

Acceptance criteria

The general format of messages should be specified for the different APIs. Where possible the formatting of messages should be as consistent as possible for any given submodule.

Out of scope

Full listings of supported error messages etc.

Implementation notes

It is worth considering if all the components could use the same general structures. But it may well no be possible