Calculator  Step 4
Public Member Functions | List of all members
no_such_function Class Reference

#include <calc_error.hpp>

Inheritance diagram for no_such_function:
calc_error

Public Member Functions

 no_such_function (std::string const &what)
 
- Public Member Functions inherited from calc_error
 calc_error (std::string const &msg)
 

Detailed Description

Exception class for calling a function that was not defined.

Definition at line 45 of file calc_error.hpp.

Constructor & Destructor Documentation

no_such_function::no_such_function ( std::string const &  what)
inline

Definition at line 47 of file calc_error.hpp.

47 : calc_error{"unknown function: " + what} {}

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