#include <exceptions.h>
Definition at line 29 of file exceptions.h.
onnxruntime::OnnxRuntimeException::OnnxRuntimeException |
( |
const CodeLocation & |
location, |
|
|
const char * |
failed_condition, |
|
|
const std::string & |
msg |
|
) |
| |
|
inline |
Create a new exception that captures the location it was thrown from.
- Parameters
-
location | Location in the source code the exception is being thrown from |
failed_condition | Optional string containing the condition that failed. e.g. "tensor.Size() == input.Size()". May be nullptr. |
msg | Message containing additional information about the exception cause. |
Definition at line 42 of file exceptions.h.
const char* onnxruntime::OnnxRuntimeException::what |
( |
| ) |
const |
|
inlineoverridenoexcept |
The documentation for this class was generated from the following file: