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. |
||
---|---|---|
.. | ||
locales | ||
public | ||
src | ||
.babelrc | ||
.gitignore | ||
dev-fragments.txt | ||
package.json | ||
webpack.config.js |