1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13:
<?php
namespace Antavo;
use Antavo\RestClient\Exceptions\Exception;
/**
* Exception thrown when Antavo Loyalty API JSON response contains an error.
*
* Exception message contains the error type and message, while exception code
* holds the received HTTP status code.
*/
class ApiClientException extends Exception {}