enum Liquid::Context::ErrorMode

Overview

Context error mode.

Defined in:

liquid/context.cr

Enum Members

Strict = 0

Raises exceptions on any error other than UndefinedVariable, which are saved and can be accessed later through Context#errors.

Warn = 1

Similar to Lax mode, but the errors can be accessed later through Context#errors.

Lax = 2

Attempts to render the template without raising any exceptions.

Instance Method Summary

Instance Method Detail

def lax? #

[View source]
def strict? #

[View source]
def warn? #

[View source]