<?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);

    }
}
