\Clx\XmsUnexpectedResponseException

Exception that indicates that XMS responded unexpectedly.

This may mean that the server responded with an unexpected status code or with, e.g., JSON of an unexpected format.

Summary

Methods
Properties
Constants
__construct()
getHttpBody()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(string  $message, string  $body) 

Creates a new unexpected response exception.

Parameters

string $message

the error message

string $body

the HTTP response body

getHttpBody()

getHttpBody() : string

Returns the HTTP response body of the unexpected response.

Returns

string —

the HTTP response body