UnrealVoxta 0.1.1
 
Loading...
Searching...
No Matches
ServerResponseError.h
Go to the documentation of this file.
1// Copyright(c) 2025 grrimgrriefer & DZnnah, see LICENSE for details.
2
3#pragma once
4
5#include "CoreMinimal.h"
7
14{
15#pragma region public API
16public:
23 explicit ServerResponseError(FStringView message,
24 FStringView details) : ServerResponseBase(ServerResponseType::Error),
25 ERROR_MESSAGE(FString(message)),
26 ERROR_DETAILS(FString(details))
27 {}
28#pragma endregion
29
30#pragma region data
31public:
33 const FString ERROR_MESSAGE;
35 const FString ERROR_DETAILS;
36#pragma endregion
37};
ServerResponseType
ServerResponseType Contains the possible response types that can be reported by the VoxtaApiReponseHa...
Definition ServerResponseType.h:16
ServerResponseBase(ServerResponseType responseType)
Definition ServerResponseBase.h:20
const FString ERROR_MESSAGE
The main error message.
Definition ServerResponseError.h:33
const FString ERROR_DETAILS
The detailed error information.
Definition ServerResponseError.h:35
ServerResponseError(FStringView message, FStringView details)
Construct an error response.
Definition ServerResponseError.h:23