fix: make LiquidError context property public

This commit is contained in:
Laurin Quast
2021-05-01 20:00:02 +08:00
committed by Jun Yang
parent 62f8f707e9
commit 1fd76acf28
+1 -1
View File
@@ -4,7 +4,7 @@ import { Template } from '../template/template'
export abstract class LiquidError extends Error { export abstract class LiquidError extends Error {
private token: Token private token: Token
private context: string public context: string
private originalError: Error private originalError: Error
public constructor (err: Error, token: Token) { public constructor (err: Error, token: Token) {
super(err.message) super(err.message)