Did I find the right examples for you? yes no

All Samples(86)  |  Call(10)  |  Derive(1)  |  Import(75)
Baseclass for all template errors.

src/w/e/webapp2_example-HEAD/lib/jinja2/__init__.py   webapp2_example(Download)
 
# exceptions
from jinja2.exceptions import TemplateError, UndefinedError, \
     TemplateNotFound, TemplatesNotFound, TemplateSyntaxError, \
     TemplateAssertionError

src/g/a/gae-twitter-oauth-example-HEAD/jinja2/__init__.py   gae-twitter-oauth-example(Download)
 
# exceptions
from jinja2.exceptions import TemplateError, UndefinedError, \
     TemplateNotFound, TemplatesNotFound, TemplateSyntaxError, \
     TemplateAssertionError

src/j/i/jinja_kit-0.0.13/jinja_kit/exceptions.py   jinja_kit(Download)
"""
 
from jinja2.exceptions import (
    TemplateError, FilterArgumentError, SecurityError,
    TemplateAssertionError, TemplateError,
    TemplateNotFound, TemplateRuntimeError,
    TemplateSyntaxError, UndefinedError)
 
 
class JinjaKitTemplateError(TemplateError):

src/h/y/hyde-0.8.8/hyde/ext/templates/jinja.py   hyde(Download)
from jinja2 import contextfilter, environmentfilter, Markup, Undefined, nodes
from jinja2.ext import Extension
from jinja2.exceptions import TemplateError
 
from commando.util import getLoggerWithNullHandler
    except ImportError:
        logger.error(u"Cannot load the markdown library.")
        raise TemplateError(u"Cannot load the markdown library")
    output = value
    d = {}
    except ImportError:
        logger.error(u"Cannot load the docutils library.")
        raise TemplateError(u"Cannot load the docutils library.")
 
    highlight_source = False
        logger.error(u"pygments library is required to"
                        " use syntax highlighting tags.")
        raise TemplateError("Cannot load pygments")
 
    pyg = (lexers.get_lexer_by_name(lexer)

src/h/y/hyde-HEAD/hyde/ext/templates/jinja.py   hyde(Download)
from jinja2 import contextfilter, environmentfilter, Markup, Undefined, nodes
from jinja2.ext import Extension
from jinja2.exceptions import TemplateError
 
from commando.util import getLoggerWithNullHandler
    except ImportError:
        logger.error(u"Cannot load the markdown library.")
        raise TemplateError(u"Cannot load the markdown library")
    output = value
    d = {}
    except ImportError:
        logger.error(u"Cannot load the docutils library.")
        raise TemplateError(u"Cannot load the docutils library.")
 
    highlight_source = False
        logger.error(u"pygments library is required to"
                        " use syntax highlighting tags.")
        raise TemplateError("Cannot load pygments")
 
    pyg = (lexers.get_lexer_by_name(lexer)

src/t/y/typogrify-2.0.4/typogrify/templatetags/jinja_filters.py   typogrify(Download)
from typogrify.filters import amp, caps, initial_quotes, smartypants, titlecase, typogrify, widont, TypogrifyError
from functools import wraps
import jinja2
from jinja2.exceptions import TemplateError
 
            out = f(text)
        except TypogrifyError as e:
            raise TemplateError(e.message)
        return jinja2.Markup(out)
    wrapper.is_safe = True

src/t/y/typogrify-engineer-2.0.0/typogrify/templatetags/jinja_filters.py   typogrify-engineer(Download)
from typogrify.filters import amp, caps, initial_quotes, smartypants, titlecase, typogrify, widont, TypogrifyError
from functools import wraps
import jinja2
from jinja2.exceptions import TemplateError
 
            out = f(text)
        except TypogrifyError, e:
            raise TemplateError(e.message)
        return jinja2.Markup(out)
    wrapper.is_safe = True

src/t/y/typogrify-web-0.1.0/typogrify/templatetags/jinja_filters.py   typogrify-web(Download)
from typogrify.filters import amp, caps, initial_quotes, smartypants, titlecase, typogrify, widont, TypogrifyError
from functools import wraps
import jinja2
from jinja2.exceptions import TemplateError
 
            out = f(text)
        except TypogrifyError as e:
            raise TemplateError(e.message)
        return jinja2.Markup(out)
    wrapper.is_safe = True

src/t/y/typogrify-HEAD/typogrify/templatetags/jinja_filters.py   typogrify(Download)
from typogrify.filters import amp, caps, initial_quotes, smartypants, titlecase, typogrify, widont, TypogrifyError
from functools import wraps
import jinja2
from jinja2.exceptions import TemplateError
 
            out = f(text)
        except TypogrifyError as e:
            raise TemplateError(e.message)
        return jinja2.Markup(out)
    wrapper.is_safe = True

src/m/i/microblog-HEAD/flask/lib/python2.7/site-packages/jinja2/__init__.py   microblog(Download)
 
# exceptions
from jinja2.exceptions import TemplateError, UndefinedError, \
     TemplateNotFound, TemplatesNotFound, TemplateSyntaxError, \
     TemplateAssertionError

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8  Next