ldc-crm-client/src/Exceptions/CrmException.php
2021-08-09 09:18:46 +02:00

22 lines
465 B
PHP

<?php
namespace LDC\LDCCRM\Exceptions;
use Exception;
use Illuminate\Support\Facades\Log;
/**
* This is a critical error.
* The request could not be handled. You may dump any value you can
* get before submitting a ticker to https://supportweb.ldc.fr
*
* @package LDCCrmClient
* @subpackage exceptions
*/
class CrmException extends Exception
{
public function report()
{
Log::critical(sprintf('CRM API: %s', $this->getMessage()));
}
}