##// END OF EJS Templates
Backport PR #5524: never use `for (var i in array)`...
Backport PR #5524: never use `for (var i in array)` because javascript is terrible, and allows code to make this unsafe and behave in arbitrarily wrong ways.

File last commit:

r11086:c137395d
r16234:9f9ab70c
Show More
exceptions.py
16 lines | 676 B | text/x-python | PythonLexer
"""NbConvert specific exceptions"""
#-----------------------------------------------------------------------------
# Copyright (c) 2013, the IPython Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Classes and functions
#-----------------------------------------------------------------------------
class ConversionException(Exception):
"""An exception raised by the conversion process."""
pass