\Clx\XmsErrorResponseException

Exception used when XMS responded with an error message.

Summary

Methods
Properties
Constants
__construct()
getErrorCode()
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  $code, string  $message) 

Creates a new XMS error exception.

Parameters

string $code

the machine readable error code

string $message

the human readable error message

getErrorCode()

getErrorCode() : string

Retrieves the machine readable error code.

Returns

string —

an XMS error code