magic.h 280 B

1234567891011121314151617
  1. #pragma once
  2. #include <util/generic/yexception.h>
  3. #include <util/generic/ptr.h>
  4. namespace NDns {
  5. class IError {
  6. public:
  7. virtual ~IError() = default;
  8. virtual void Raise() = 0;
  9. };
  10. typedef TAutoPtr<IError> IErrorRef;
  11. IErrorRef SaveError();
  12. }