##// END OF EJS Templates
Modifies Contents API to return Error objects...
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.

File last commit:

r10951:31998f30
r18661:d632dcb6
Show More
__init__.py
4 lines | 73 B | text/x-python | PythonLexer
try:
from path import *
except ImportError:
from ._path import *