Skip to content

Commit

Permalink
error reset
Browse files Browse the repository at this point in the history
  • Loading branch information
Jazzpirate committed Jul 3, 2023
1 parent 684262e commit 3bd4a9d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/mmt-api/src/main/info/kwarc/mmt/api/Error.scala
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,11 @@ class MultipleErrorHandler(val handlers: List[ErrorHandler]) extends OpenCloseHa
case _ =>
}
}

override def reset: Unit = {
super.reset
handlers.foreach(_.reset)
}
}
object MultipleErrorHandler {
/** creates a MultipleErrorHandler and adds error reporting if not also present */
Expand Down

0 comments on commit 3bd4a9d

Please sign in to comment.