mirror of
https://gitlab.com/omair-personal/izyim.git
synced 2026-08-19 20:34:09 +00:00
8a28eb1790
This reverts merge request !5
22 lines
407 B
PHP
22 lines
407 B
PHP
<?php
|
|
|
|
namespace App\Classes\Exceptions\Common;
|
|
|
|
use Exception;
|
|
|
|
class ErrorException extends Exception {
|
|
/** @var bool */
|
|
protected $writeExceptionToLog = true;
|
|
|
|
/**
|
|
* ErrorException constructor.
|
|
*
|
|
* @param string $message
|
|
* @param int $code
|
|
*/
|
|
public function __construct(string $message, int $code = 0) {
|
|
parent::__construct($message, $code);
|
|
|
|
}
|
|
}
|