UnrealVoxta 0.1.1
 
Loading...
Searching...
No Matches
ServerResponseChatSessionError.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:
24 explicit ServerResponseChatSessionError(FStringView chatSessionId,
25 bool retry, FStringView message) : ServerResponseBase(ServerResponseType::ChatSessionError),
26 ERROR_CHAT_SESSION_ID(FString(chatSessionId)),
27 ERROR_RETRY(retry),
28 ERROR_MESSAGE(FString(message))
29 {}
30#pragma endregion
31
32#pragma region data
33public:
35 const FString ERROR_CHAT_SESSION_ID;
37 const bool ERROR_RETRY;
39 const FString ERROR_MESSAGE;
40#pragma endregion
41};
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
ServerResponseChatSessionError(FStringView chatSessionId, bool retry, FStringView message)
Construct a chat session error response.
Definition ServerResponseChatSessionError.h:24
const FString ERROR_CHAT_SESSION_ID
The ID of the chat session that encountered the error.
Definition ServerResponseChatSessionError.h:35
const bool ERROR_RETRY
Whether the operation can be retried.
Definition ServerResponseChatSessionError.h:37
const FString ERROR_MESSAGE
The error message.
Definition ServerResponseChatSessionError.h:39