for cases where StopExtraction was used to report errors
mostly using flynt https://github.com/ikamensh/flynt