API reference
API reference
Select your platform
No SDKs available
No versions available

RequestCompleteResponse Struct

A request result wrapper which can return a result and error string.

Overview

Data Fields

TValue
Value[Get]
The type of the result data
string
Error[Get]
The error string, if errors occurred. Will be NullOrEmpty otherwise.

Public Member Functions

RequestCompleteResponse
( TValue value,
string error )
Simple constructor with value and error
RequestCompleteResponse
( TValue value )
RequestCompleteResponse
( string error )

Details

Detailed Description

Others
TResult
the type of the result data

Fields

TValue Meta.WitAi.Requests.VRequest.RequestCompleteResponse< TValue >.Value
The type of the result data
string Meta.WitAi.Requests.VRequest.RequestCompleteResponse< TValue >.Error
The error string, if errors occurred. Will be NullOrEmpty otherwise.

Member Functions

Meta.WitAi.Requests.VRequest.RequestCompleteResponse< TValue >.RequestCompleteResponse
( TValue value,
string error )
Simple constructor with value and error
Parameters
value
The value of the response
error
Any returned error from the request
Meta.WitAi.Requests.VRequest.RequestCompleteResponse< TValue >.RequestCompleteResponse
( TValue value )
No description available.
Meta.WitAi.Requests.VRequest.RequestCompleteResponse< TValue >.RequestCompleteResponse
( string error )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon