Treelite
include
treelite
error.h
Go to the documentation of this file.
1
7
#ifndef TREELITE_ERROR_H_
8
#define TREELITE_ERROR_H_
9
10
#include <string>
11
#include <stdexcept>
12
13
namespace
treelite
{
14
18
struct
Error
:
public
std::runtime_error {
19
explicit
Error
(
const
std::string& s) : std::runtime_error(s) {}
20
};
21
22
}
// namespace treelite
23
24
#endif // TREELITE_ERROR_H_
treelite::Error
Exception class that will be thrown by Treelite.
Definition:
error.h:18
treelite
Definition:
annotator.h:18
Generated by
1.8.13