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. |
||
|---|---|---|
| .. | ||
| Create.js | ||
| Edit.js | ||
| List.js | ||
| NamespacesTreeTable.js | ||
| root.js | ||