9f54ca Add a new decorator to catch the APIError thrown in the API code

Authored and Committed by Pierre-Yves Chibon 10 years ago
    Add a new decorator to catch the APIError thrown in the API code
    
    This way we have a clean way to returning errors to the user
    
        
file modified
+44 -1