enum Liquid::Context::ErrorMode

Overview

Context error mode.

Defined in:

liquid/context.cr

Enum Members

Strict = 0

Raise exceptions on any error but UndefinedVariable, that can be accessed later by Context#errors.

Warn = 1

Like Lax mode, but the errors can be accessed later by Context#errors.

Lax = 2

Do the best to render something without raising any exceptions.

Instance Method Summary

Instance Method Detail

def lax? #

[View source]
def strict? #

[View source]
def warn? #

[View source]