- Main Page
- Classes
- Files

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# file_error Class Reference

`#include <calc_error.hpp>`

Inheritance diagram for file_error:

List of all members.

## Public Member Functions
| file_error (std::string const &filename)

## Detailed Description

Exception class for failing to open a file. Get the system error and include it in the exception message.

Definition at line 50 of file calc_error.hpp.

## Constructor & Destructor Documentation

file_error::file_error | ( | std::string const & | filename | ) | `[inline]`

Definition at line 52 of file calc_error.hpp.

    00052 : calc_error(filename + ": " + std::strerror(errno)) {}

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

- calc_error.hpp