src/Domain/Gateway/Entities/Exception/GatewayGeneratorNotSupportedException.php line 5

Open in your IDE?
  1. <?php
  2. namespace App\Domain\Gateway\Entities\Exception;
  3. class GatewayGeneratorNotSupportedException extends \Exception
  4. {
  5.     protected $code 'ERR_001';
  6.     protected $message 'generator for gateway %s not found';
  7.     /**
  8.      * @param $slug
  9.      * @param $code
  10.      * @param \Throwable|null $previous
  11.      */
  12.     public function __construct($slug ""$code 0, \Throwable $previous null)
  13.     {
  14.         parent::__construct($slug$code$previous);
  15.         $this->message sprintf($this->message$slug);
  16.     }
  17. }