aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/dns/magic.h
blob: c0d1db340deebbed29a2d54dabba3baeb69677e8 (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();
}