aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/dns/magic.h
blob: d52cde0a6c8cfd68c9d40b3e229d930e6813bd2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <util/generic/yexception.h>
#include <util/generic/ptr.h>

namespace NDns {
    class IError {
    public:
        virtual ~IError() = default;

        virtual void Raise() = 0;
    };

    typedef TAutoPtr<IError> IErrorRef;

    IErrorRef SaveError();
}