Tannic
A C++ Tensor Library
Loading...
Searching...
No Matches
tannic::Exception Class Reference

A simple generic exception type for the Tannic Tensor Library. More...

#include <exceptions.hpp>

Public Member Functions

 Exception (const std::string &what)
 
const char * what () const noexcept override
 

Public Attributes

std::string message
 

Detailed Description

A simple generic exception type for the Tannic Tensor Library.

This class provides a lightweight generic exception mechanism during for the frontend of the library.

This class is a simple generic Exception to avoid overengineering during initial development. As the library matures, this may be extended or replaced with more specialized exception types.

Constructor & Destructor Documentation

◆ Exception()

tannic::Exception::Exception ( const std::string &  what)
inlineexplicit

Member Function Documentation

◆ what()

const char * tannic::Exception::what ( ) const
inlineoverridenoexcept

Member Data Documentation

◆ message

std::string tannic::Exception::message

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