tipc
A TIP to LLVM compiler
Public Member Functions | List of all members
Error Class Reference

Base class for tipc errors. More...

#include <Error.h>

Inheritance diagram for Error:
Inheritance graph
[legend]
Collaboration diagram for Error:
Collaboration graph
[legend]

Public Member Functions

 Error (const std::string &msg)
 
virtual const char * what () const noexcept
 Construct error with message. More...
 

Detailed Description

Base class for tipc errors.

Errors detected during compilation result in exceptions being thrown. The exception carries a message – the return value of the what() method.

Constructor & Destructor Documentation

◆ Error()

Error::Error ( const std::string &  msg)
inline

Member Function Documentation

◆ what()

const char * Error::what ( ) const
virtualnoexcept

Construct error with message.


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