17 lines
313 B
PHP
17 lines
313 B
PHP
<?php
|
|
|
|
namespace Illuminate\Http\Exceptions;
|
|
|
|
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
|
|
class MalformedUrlException extends HttpException
|
|
{
|
|
/**
|
|
* Create a new exception instance.
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct(400, 'Malformed URL.');
|
|
}
|
|
}
|