vapi std interposition: invocation result
Information about the result from an interposed operation invocation. All POST interposers will receive an instance of this structure.
Representation:
{
"output" : "opaque_string_value",
"result_type" : "NORMAL_RESULT",
"error" : {
"@class" : "dynamic_structure"
}
}
"output" : "opaque_string_value",
"result_type" : "NORMAL_RESULT",
"error" : {
"@class" : "dynamic_structure"
}
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
result_type | string | Type of the invocation result. Type of the invocation result. Value is one of: NORMAL_RESULT: Normal invocation result. ERROR_RESULT: Error invocation result. |
Optional | ||
output | opaque | Normal result value. Optional. It is only relevant when result_type has value NORMAL_RESULT. This field is optional and it is only relevant when the value of result_type is NORMAL_RESULT. |
error | object | Error result value. Optional. It is only relevant when result_type has value ERROR_RESULT. This field is optional and it is only relevant when the value of result_type is ERROR_RESULT. |