Skip to content

Commit d0f1fd6

Browse files
committed
Added MethodNotAllowedException to the configs
1 parent 6ba4f5a commit d0f1fd6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Config/api-error-handler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
"Illuminate\Auth\AuthenticationException" => "\hamidreza2005\LaravelApiErrorHandler\Exceptions\AccessDeniedException",
88
"Symfony\Component\HttpKernel\Exception\HttpException" => "\hamidreza2005\LaravelApiErrorHandler\Exceptions\AccessDeniedException",
99
"Illuminate\Validation\ValidationException" => "\hamidreza2005\LaravelApiErrorHandler\Exceptions\ValidationException",
10+
"Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException"=>"\hamidreza2005\LaravelApiErrorHandler\Exceptions\NotFoundException",
1011
];

0 commit comments

Comments
 (0)