Ticket #304 (new enhancement)

Opened 6 years ago

Last modified 6 years ago

Add error code in error response

Reported by: patrik åkerfeldt <patrik.akerfeldt@…> Owned by:
Priority: major Milestone: 2.1.3
Component: Telldus Live! Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All Sensitive: no
Verified by Telldus: no

Description

It would be really useful if we could have a response code to every error response.

For instance, a code to associate the following error with:

{"error":"The sensor with id "299540" does not exist"}

This makes it much easier for third party apps to do something useful when particular errors occur.

Change History

comment:1 Changed 6 years ago by patrik åkerfeldt <patrik.akerfeldt@…>

Example:

{"errorCode": "456789", "error":"The sensor with id "299540" does not exist"}

comment:2 Changed 6 years ago by stefan persson <stefan.persson@…>

  • Milestone set to 2.1.3
Note: See TracTickets for help on using tickets.