mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 04:10:40 -07:00
fix: make LiquidError context property public
This commit is contained in:
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user