cesium-native 0.46.0
Loading...
Searching...
No Matches
ErrorResponse.h
1#pragma once
2
3#include <span>
4#include <string>
5
52 const std::span<const std::byte>& body,
53 std::string& outError,
54 std::string& outErrorDesc);
55} // namespace CesiumClientCommon
Shared classes for interacting with Cesium ion and iTwin APIs.
bool parseErrorResponse(const std::span< const std::byte > &body, std::string &outError, std::string &outErrorDesc)
Attempts to parse a JSON error response from the provided buffer.