<?php


namespace App\Exceptions;


use Throwable;

class ErrorException extends Exception
{
    public function __construct($message = "",  $code = 0, Throwable $previous = null)
    {
        parent::__construct($message,$type='error',$code, $previous);
    }
}
