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
14namespace poputil {
15
17struct 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
General utility functions for building graphs.
Definition: GfloatExprUtil.hpp:23
Class for PopLibs exceptions.
Definition: exceptions.hpp:17