summaryrefslogtreecommitdiff
path: root/library/fileError.h
blob: 214cdecb4787c295151e4ff9d2924d511343ef54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef FILEERROR_H_INCLUDED
#define FILEERROR_H_INCLUDED

#include "zstring.h"
#include "fileError.h"

namespace FreeFileSync
{
    class FileError //Exception class used to notify file/directory copy/delete errors
    {
    public:
        FileError(const Zstring& message) :
                errorMessage(message) {}

        const Zstring& show() const
        {
            return errorMessage;
        }

    private:
        Zstring errorMessage;
    };
}

#endif // FILEERROR_H_INCLUDED
bgstack15