<?php
namespace App\Exception;
use Symfony\Component\HttpKernel\Exception\HttpException;
class AppException extends HttpException
{
public function __construct($statusCode, $message=null, \Exception $previous=null, $headers=[], $code=0)
{
parent::__construct($statusCode, $message, $previous, $headers, $code);
}
}