Calculator Step 5

- Main Page
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
syntax_error Class Reference

`#include <calc_error.hpp>`

Inheritance diagram for syntax_error:

## Public Member Functions
| syntax_error (std::string const &msg)
Public Member Functions inherited from parse_error
| parse_error (std::string const &msg)
Public Member Functions inherited from calc_error
| calc_error (std::string const &msg)

## Detailed Description

Exception class for parser syntax errors.

Definition at line 24 of file calc_error.hpp.

## Constructor & Destructor Documentation

syntax_error::syntax_error | ( | std::string const & | msg | ) |
| inline

Definition at line 26 of file calc_error.hpp.

26 : parse_error{"syntax error: " + msg} {}
parse_error
Definition: calc_error.hpp:18

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

- calc_error.hpp