an object containing information about an error
More...
#include <NvOnnxParser.h>
|
| virtual ErrorCode | code () const =0 |
| | the error code. More...
|
| |
| virtual char const * | desc () const =0 |
| | description of the error. More...
|
| |
| virtual char const * | file () const =0 |
| | source file in which the error occurred. More...
|
| |
| virtual int | line () const =0 |
| | source line at which the error occurred. More...
|
| |
| virtual char const * | func () const =0 |
| | source function in which the error occurred. More...
|
| |
| virtual int | node () const =0 |
| | index of the ONNX model node in which the error occurred. More...
|
| |
| virtual char const * | nodeName () const =0 |
| | name of the node in which the error occurred. More...
|
| |
| virtual char const * | nodeOperator () const =0 |
| | name of the node operation in which the error occurred. More...
|
| |
| virtual char const *const * | localFunctionStack () const =0 |
| | A list of the local function names, from the top level down, constituting the current stack trace in which the error occurred. A top-level node that is not inside any local function would return a nullptr. More...
|
| |
| virtual int32_t | localFunctionStackSize () const =0 |
| | The size of the stack of local functions at the point where the error occurred. A top-level node that is not inside any local function would correspond to. More...
|
| |
an object containing information about an error
◆ ~IParserError()
| virtual nvonnxparser::IParserError::~IParserError |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ code()
| virtual ErrorCode nvonnxparser::IParserError::code |
( |
| ) |
const |
|
pure virtual |
◆ desc()
| virtual char const * nvonnxparser::IParserError::desc |
( |
| ) |
const |
|
pure virtual |
description of the error.
◆ file()
| virtual char const * nvonnxparser::IParserError::file |
( |
| ) |
const |
|
pure virtual |
source file in which the error occurred.
◆ func()
| virtual char const * nvonnxparser::IParserError::func |
( |
| ) |
const |
|
pure virtual |
source function in which the error occurred.
◆ line()
| virtual int nvonnxparser::IParserError::line |
( |
| ) |
const |
|
pure virtual |
source line at which the error occurred.
◆ localFunctionStack()
| virtual char const *const * nvonnxparser::IParserError::localFunctionStack |
( |
| ) |
const |
|
pure virtual |
A list of the local function names, from the top level down, constituting the current stack trace in which the error occurred. A top-level node that is not inside any local function would return a nullptr.
◆ localFunctionStackSize()
| virtual int32_t nvonnxparser::IParserError::localFunctionStackSize |
( |
| ) |
const |
|
pure virtual |
The size of the stack of local functions at the point where the error occurred. A top-level node that is not inside any local function would correspond to.
◆ node()
| virtual int nvonnxparser::IParserError::node |
( |
| ) |
const |
|
pure virtual |
index of the ONNX model node in which the error occurred.
◆ nodeName()
| virtual char const * nvonnxparser::IParserError::nodeName |
( |
| ) |
const |
|
pure virtual |
name of the node in which the error occurred.
◆ nodeOperator()
| virtual char const * nvonnxparser::IParserError::nodeOperator |
( |
| ) |
const |
|
pure virtual |
name of the node operation in which the error occurred.
The documentation for this class was generated from the following file: