Skip to content

Commit f13b752

Browse files
author
Matt Coley
committed
Add method to remove interpreter errors
1 parent bb62cab commit f13b752

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/main/java/com/hubspot/jinjava/interpret/JinjavaInterpreter.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,10 @@ public void addError(TemplateError templateError) {
650650
}
651651
}
652652

653+
public void removeError(int index) {
654+
errors.remove(index);
655+
}
656+
653657
public int getScopeDepth() {
654658
return scopeDepth;
655659
}

0 commit comments

Comments
 (0)