GoldenGateBindings / com.fitbit.goldengate.bindings.coap / CoapEndpointResponseException

CoapEndpointResponseException

class CoapEndpointResponseException : Exception

Exception thrown when ResponseCode for response from a CoAP request is ResponseCode.Class.clientError or ResponseCode.Class.serverError.

User can expect this exception when expectSuccess is true for OutgoingRequest

Constructors

<init>

CoapEndpointResponseException(responseCode: ResponseCode, extendedError: ExtendedError?)

Exception thrown when ResponseCode for response from a CoAP request is ResponseCode.Class.clientError or ResponseCode.Class.serverError.

Properties

extendedError

val extendedError: ExtendedError?

responseCode

val responseCode: ResponseCode