enum

Liquid::Context::ErrorMode

Inherits Enum / Comparable / Value / Object

Context error mode.

Constants

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 methods

lax?

Returns true if this enum value equals Lax

Source
strict?

Returns true if this enum value equals Strict

Source
warn?

Returns true if this enum value equals Warn

Source