takluyver/ipython — pull request #13 by KesterTong (2014-10-29 01:09:06+00:00)
Title: Modifies Contents API to return Error objects

Modfies the Contents class to return JavaScript Error objects instead of passing on the return values from $.ajax(). This has two advantages. First, it allows the content manager to parse errors and give more informative messages than the ajax response. Second, it makes the Contents interface more general, since other kinds of backends might generate client-side errors.