#pragma once #include class QString; namespace chatterino { template using Expected = nonstd::expected_lite::expected; template using ExpectedStr = Expected; // convenience function from nonstd/expected.hpp template constexpr nonstd::unexpected> makeUnexpected(E &&value) { return nonstd::unexpected>(std::forward(value)); } } // namespace chatterino