Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error_mode #47

Open
hakimihamdan88 opened this issue Jun 4, 2017 · 3 comments
Open

error_mode #47

hakimihamdan88 opened this issue Jun 4, 2017 · 3 comments

Comments

@hakimihamdan88
Copy link

do php-liquid have setting for the error mode?

Liquid::Template.error_mode = :strict # Raises a SyntaxError when invalid syntax is used
Liquid::Template.error_mode = :warn # Adds errors to template.errors but continues as normal
Liquid::Template.error_mode = :lax # The default mode, accepts almost anything.
@johnsnails
Copy link

Also wondering about this.

@sanmai
Copy link
Contributor

sanmai commented Sep 25, 2017

Doesn't seem like it.

@hakimihamdan88
Copy link
Author

@sanmai see liquid error modes https://github.com/Shopify/liquid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants