Primo Committ
This commit is contained in:
18
vendor/laravel/framework/src/Illuminate/Routing/Exceptions/InvalidSignatureException.php
vendored
Normal file
18
vendor/laravel/framework/src/Illuminate/Routing/Exceptions/InvalidSignatureException.php
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Routing\Exceptions;
|
||||
|
||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
||||
|
||||
class InvalidSignatureException extends HttpException
|
||||
{
|
||||
/**
|
||||
* Create a new exception instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(403, 'Invalid signature.');
|
||||
}
|
||||
}
|
||||
19
vendor/laravel/framework/src/Illuminate/Routing/Exceptions/UrlGenerationException.php
vendored
Normal file
19
vendor/laravel/framework/src/Illuminate/Routing/Exceptions/UrlGenerationException.php
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Routing\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class UrlGenerationException extends Exception
|
||||
{
|
||||
/**
|
||||
* Create a new exception for missing route parameters.
|
||||
*
|
||||
* @param \Illuminate\Routing\Route $route
|
||||
* @return static
|
||||
*/
|
||||
public static function forMissingParameters($route)
|
||||
{
|
||||
return new static("Missing required parameters for [Route: {$route->getName()}] [URI: {$route->uri()}].");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user