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

exceptions description class for compiler driver More...

#include <Driver.h>

Collaboration diagram for nnc::DriverException:

Public Member Functions

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

Detailed Description

exceptions description class for compiler driver

Definition at line 31 of file Driver.h.

Constructor & Destructor Documentation

◆ DriverException() [1/3]

nnc::DriverException::DriverException ( )
default

◆ DriverException() [2/3]

nnc::DriverException::DriverException ( std::string  reason)
inlineexplicit

Definition at line 35 of file Driver.h.

35: _msg(std::move(reason)) {}

◆ DriverException() [3/3]

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

Definition at line 36 of file Driver.h.

36: _msg(msg) {}

Member Function Documentation

◆ what()

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

Definition at line 38 of file Driver.h.

38{ return _msg.c_str(); }

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