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