Contents

ProtocolExceptionInvocationResponse

A response object that indicates when the service fails to process the client’s request.

Declaration

object ProtocolExceptionInvocationResponse

Properties

NameTypeDescription
exception RequiredProtocolException

The reason your service can’t provide a response.

method Requiredstring

The action your service takes to process this intent.

Discussion

When your service receives a well-formed request, but it can’t fulfill the intent, use an IntentResponse or IntentResolutionResult instead of a ProtocolExceptionInvocationResponse. Those objects allow the client to provide more specific information to the user about errors that occur.

See Also

Exceptions