ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nnc::PassException Class Reference

objects of this class are to be thrown from Passes if errors are occurred More...

#include <PassException.h>

Collaboration diagram for nnc::PassException:

Public Member Functions

 PassException ()=default
 
 PassException (std::string msg)
 
 PassException (const char *msg)
 
const char * what () const noexcept override
 

Detailed Description

objects of this class are to be thrown from Passes if errors are occurred

Definition at line 29 of file PassException.h.

Constructor & Destructor Documentation

◆ PassException() [1/3]

nnc::PassException::PassException ( )
default

◆ PassException() [2/3]

nnc::PassException::PassException ( std::string  msg)
inlineexplicit

Definition at line 33 of file PassException.h.

33: _msg(std::move(msg)) {}

◆ PassException() [3/3]

nnc::PassException::PassException ( const char *  msg)
inlineexplicit

Definition at line 34 of file PassException.h.

34: _msg(msg) {}

Member Function Documentation

◆ what()

const char * nnc::PassException::what ( ) const
inlineoverridenoexcept

Definition at line 36 of file PassException.h.

36{ return _msg.c_str(); }

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