Poplar and PopLibs
exceptions.hpp
Go to the documentation of this file.
1
// Copyright (c) 2017 Graphcore Ltd. All rights reserved.
8
#ifndef poputil_exceptions_hpp
9
#define poputil_exceptions_hpp
10
11
#include <stdexcept>
12
#include <string>
13
14
namespace
poputil
{
15
17
struct
poplibs_error
: std::runtime_error {
18
std::string type;
19
explicit
poplibs_error
(
const
std::string &s);
20
explicit
poplibs_error
(
const
char
*s);
21
};
22
23
}
// namespace poputil
24
25
#endif
// poputil_exceptions_hpp
poputil
General utility functions for building graphs.
Definition:
GfloatExprUtil.hpp:23
poputil::poplibs_error
Class for PopLibs exceptions.
Definition:
exceptions.hpp:17
include
poputil
exceptions.hpp
Generated by
1.9.3