Ticket #304 (new enhancement)

Opened 8 years ago

Last modified 7 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


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 8 years ago by patrik åkerfeldt <patrik.akerfeldt@…>


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

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

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