Moonlight-XboxOG latest
Moonlight Xbox OG is a port of the Moonlight Game Streaming client to the original Xbox console.
error_utils.h
Go to the documentation of this file.
1
5#pragma once
6
7// standard includes
8#include <string>
9#include <utility>
10
11namespace platform {
12
20 inline bool append_error(std::string *errorMessage, std::string message) {
21 if (errorMessage != nullptr) {
22 *errorMessage = std::move(message);
23 }
24
25 return false;
26 }
27
28} // namespace platform