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