|
HDK
|
All C++ methods that can fail will throw an exception of this type. More...
#include <onnxruntime_cxx_api.h>
Inheritance diagram for Ort::Exception:Public Member Functions | |
| Exception (std::string &&string, OrtErrorCode code) | |
| OrtErrorCode | GetOrtErrorCode () const |
| const char * | what () const noexceptoverride |
All C++ methods that can fail will throw an exception of this type.
If ORT_NO_EXCEPTIONS is defined, then any error will result in a call to abort()
Definition at line 53 of file onnxruntime_cxx_api.h.
|
inline |
Definition at line 54 of file onnxruntime_cxx_api.h.
|
inline |
Definition at line 56 of file onnxruntime_cxx_api.h.
|
inlineoverridenoexcept |
Definition at line 57 of file onnxruntime_cxx_api.h.