Brush C++ API
A flexible interpretable machine learning framework
Loading...
Searching...
No Matches
error.h File Reference
#include <string>
#include <iostream>
Include dependency graph for error.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Brush
 < nsga2 selection operator for getting the front
 
namespace  Brush::Util
 namespace containing various utility functions
 

Macros

#define HANDLE_ERROR_THROW(err)   (Util::HandleErrorThrow( err, __FILE__, __LINE__ ))
 
#define HANDLE_WARNING(err)   (Util::HandleErrorNoThrow( err, __FILE__, __LINE__ ))
 

Functions

void Brush::Util::HandleErrorThrow (string err, const char *file, int line)
 prints error and throws an exception
 
void Brush::Util::HandleErrorNoThrow (string err, const char *file, int line)
 prints error to stderr and returns
 

Macro Definition Documentation

◆ HANDLE_ERROR_THROW

#define HANDLE_ERROR_THROW ( err)    (Util::HandleErrorThrow( err, __FILE__, __LINE__ ))

Definition at line 27 of file error.h.

◆ HANDLE_WARNING

#define HANDLE_WARNING ( err)    (Util::HandleErrorNoThrow( err, __FILE__, __LINE__ ))

Definition at line 28 of file error.h.