From 98fbbafef78057c818fb02b15c27e38ad2f5b5bc Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Tue, 28 Apr 2026 15:56:07 +0100 Subject: config/errors: Report and categorize errors properly for actions (#14192) Makes all errors categorized, some not displayed, some displayed. All errors can be obtained after hl.dispatch() --- src/layout/algorithm/Algorithm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/layout/algorithm/Algorithm.cpp') diff --git a/src/layout/algorithm/Algorithm.cpp b/src/layout/algorithm/Algorithm.cpp index eb737d34..b22eb9bf 100644 --- a/src/layout/algorithm/Algorithm.cpp +++ b/src/layout/algorithm/Algorithm.cpp @@ -132,7 +132,7 @@ void CAlgorithm::recenter(SP t) { m_floating->recenter(t); } -std::expected CAlgorithm::layoutMsg(const std::string_view& sv) { +Config::ErrorResult CAlgorithm::layoutMsg(const std::string_view& sv) { if (const auto ret = m_floating->layoutMsg(sv); !ret) return ret; return m_tiled->layoutMsg(sv); -- cgit v1.2.3