Commit adebf8c9 authored by Егор Галкин's avatar Егор Галкин
Browse files

Add new file

parent ff677e9c
No related merge requests found
Showing with 17 additions and 0 deletions
+17 -0
#pragma once
#include <string>
#include <iostream>
using namespace std;
class FileException : public exception
{
string n_error;
public:
FileException(string &error)
{
n_error = error;
}
const char* what() const noexcept
{
return n_error.c_str();
}
};
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment