GooFit  v2.1.3
Abort.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 
5 namespace GooFit {
6 
7 class PdfBase;
8 
10 void abort(std::string file, int line, std::string reason, const PdfBase *pdf = nullptr);
11 
12 } // namespace GooFit
void abort(std::string file, int line, std::string reason, const PdfBase *pdf=nullptr)
Smart abort that includes the file name and location, and prints a stack trace if possible...
Definition: Abort.cpp:9