ONE - On-device Neural Engine
Loading...
Searching...
No Matches
onert::OnertException Class Reference

#include <Exceptions.h>

Collaboration diagram for onert::OnertException:

Public Member Functions

 OnertException (const std::string &msg)
 
 OnertException (const std::string &tag, const std::string &msg)
 
const char * what () const noexcept override
 

Detailed Description

Definition at line 25 of file Exceptions.h.

Constructor & Destructor Documentation

◆ OnertException() [1/2]

onert::OnertException::OnertException ( const std::string &  msg)
inline

Definition at line 28 of file Exceptions.h.

28: _msg{msg} {}

◆ OnertException() [2/2]

onert::OnertException::OnertException ( const std::string &  tag,
const std::string &  msg 
)
inline

Definition at line 29 of file Exceptions.h.

29: _msg{tag + " : " + msg} {}

Member Function Documentation

◆ what()

const char * onert::OnertException::what ( ) const
inlineoverridenoexcept

Definition at line 31 of file Exceptions.h.

31{ return _msg.c_str(); }

Referenced by nnfw_session::run(), and nnfw_session::run_with_auto_compilation().


The documentation for this class was generated from the following file: