$result $result : mixed The result from the API server that represents the exception information. Type mixed
__construct() __construct(array $result) Make a new API Exception with the given result. Parameters array $result The result from the API server
getResult() getResult() : array Return the associated result object returned by the API server. Returns array — The result from the API server
getType() getType() : string Returns the associated type for the error. This will default to 'Exception' when a type is not available. Returns string
__toString() __toString() : string To make debugging easier. Returns string — The string representation of the error