diff --git a/ydb/library/conclusion/generic/status.h b/ydb/library/conclusion/generic/status.h index fce80935726d..4701ade9e533 100644 --- a/ydb/library/conclusion/generic/status.h +++ b/ydb/library/conclusion/generic/status.h @@ -107,21 +107,21 @@ class TConclusionStatusImpl : public TConclusionStatusGenericImpl -class TConclusionStatusIssueImpl : public TConclusionStatusGenericImpl> { +class TYQLConclusionStatusImpl : public TConclusionStatusGenericImpl> { protected: - friend class TConclusionStatusGenericImpl>; + friend class TConclusionStatusGenericImpl>; - using TBase = TConclusionStatusGenericImpl>; + using TBase = TConclusionStatusGenericImpl>; using TBase::TBase; - TConclusionStatusIssueImpl() = default; + TYQLConclusionStatusImpl() = default; - TConclusionStatusIssueImpl(const TString& errorMessage, TStatus status = DefaultError) + TYQLConclusionStatusImpl(const TString& errorMessage, TStatus status = DefaultError) : TBase({NYql::TIssue(errorMessage)}, status) { } public: - TConclusionStatusIssueImpl& AddParentIssue(NYql::TIssue issue) { + TYQLConclusionStatusImpl& AddParentIssue(NYql::TIssue issue) { Y_ABORT_UNLESS(!!TBase::ErrorMessage); for (const auto& childIssue : *TBase::ErrorMessage) { issue.AddSubIssue(MakeIntrusive(childIssue)); @@ -130,18 +130,18 @@ class TConclusionStatusIssueImpl : public TConclusionStatusGenericImplAddIssue(std::move(issue)); return *this; } - TConclusionStatusIssueImpl& AddIssue(const TString& message) { + TYQLConclusionStatusImpl& AddIssue(const TString& message) { AddIssue(NYql::TIssue(message)); return *this; } diff --git a/ydb/library/conclusion/status.h b/ydb/library/conclusion/status.h index b6a0830cf7a6..d873ff01a4fa 100644 --- a/ydb/library/conclusion/status.h +++ b/ydb/library/conclusion/status.h @@ -8,4 +8,7 @@ using TConclusionStatus = TConclusionStatusImpl<::TNull, ::TNull{}, ::TNull{}>; template using TConclusionSpecialStatus = TConclusionStatusImpl; +template +using TYQLConclusionSpecialStatus = TYQLConclusionStatusImpl; + }