Header must contains Accept: application/json
405
Method not exist, throw a exception immediately, middleware isnot called (except global middleware).
MethodNotAllowedHttpExceptionis aHttpException. STOP now
500
Throw a exception
FatalThrowableErrorimmediately, middleware isnot called, STOP now
401, 403
Route ok <- all middleware called, not
HttpException. ThrowAuthenticationException/AccessDeniedHttpException.Still RUN
validate
Route ok <- all middleware called, not
HttpException. ThrowValidationException.Still RUN
abort()
Route ok <- all middleware called, is a
HttpException, Still RUN
xxxOrFail()
Route ok <- all middleware called. throw
ModelNotFoundException, still RUN