__construct()
__construct(string $message, string $body)
Creates a new unexpected response exception.
Parameters
string | $message | the error message |
string | $body | the HTTP response body |
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.