#pragma once #include "error_code.h" namespace NYT { //////////////////////////////////////////////////////////////////////////////// template class TErrorOr; using TError = TErrorOr; struct TErrorAttribute; class TErrorAttributes; struct TOriginAttributes; //////////////////////////////////////////////////////////////////////////////// YT_DEFINE_ERROR_ENUM( ((OK) (0)) ((Generic) (1)) ((Canceled) (2)) ((Timeout) (3)) ((FutureCombinerFailure) (4)) ((FutureCombinerShortcut)(5)) ); //////////////////////////////////////////////////////////////////////////////// } // namespace NYT