first commit
This commit is contained in:
12
app/Exceptions/Entities/MethodNotAllowedException.php
Normal file
12
app/Exceptions/Entities/MethodNotAllowedException.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exceptions\Entities;
|
||||
|
||||
use Flugg\Responder\Exceptions\Http\HttpException;
|
||||
|
||||
class MethodNotAllowedException extends HttpException
|
||||
{
|
||||
protected $status = 405;
|
||||
|
||||
protected $errorCode = 'http.request.wrong_method';
|
||||
}
|
||||
Reference in New Issue
Block a user