ldc-crm/app/Exceptions/Api/V2/CrmException.php
Jérémy Munsch 46a47e822d Some php doc
2021-08-09 08:55:39 +02:00

22 lines
465 B
PHP

<?php
namespace App\Exceptions\Api\V2;
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()));
}
}