Radomir Dopieralski d7e9c9a0cd Error handling in the API
Currently error handling in Tuskar-UI involves a lot of repeated
code, as the same pattern is used everywhere and the same API calls
tend to be handled in the same way no matter where they appear.

This patch introduces a decorator that can be used to add default
error handling to all API calls that take a request as a parameter.

That default error handling can be disabled or modified using the
special parameters passed to the call, all of which start with
"_error" to avoid conflicts.

Change-Id: Ie441789c471deeb6d64267bf4424f5661ef073af
2014-03-03 11:27:59 +01:00
..
2014-02-13 17:12:12 +08:00
2014-03-03 11:27:59 +01:00
2014-03-03 11:27:59 +01:00
2014-02-24 04:25:36 -05:00
2014-03-03 11:27:59 +01:00