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. |
||
|---|---|---|
| .. | ||
| blacklist.js | ||
| campaigns.js | ||
| confirmations.js | ||
| fields.js | ||
| forms.js | ||
| links.js | ||
| lists.js | ||
| namespaces.js | ||
| report-templates.js | ||
| reports.js | ||
| segments.js | ||
| settings.js | ||
| subscriptions.js | ||
| templates.js | ||
| triggers.js | ||
| users.js | ||