The idea is that REST handlers always fail with throwing an Error (subclass of InteroperableError). The InteroperableError contains type and data field which are JSON-serialized and sent to client. It's up to the client to interpret the error and choose an appropriate way to present it. |
||
---|---|---|
.. | ||
form.js | ||
i18n.js | ||
page.css | ||
page.js |