Simple forum software for building great communities.
Go to file
Franz Liedke 919ebfcc33 Determine error view and message based on type
...not based on status code.

To simplify this logic, we now use the same error "type" both when
routes are not found and specific models are not found. One exception is
ours, one is from Laravel, but for the purposes of error handling they
should be treated the same.

Fixes flarum/core#1641.
2019-08-14 19:47:56 +02:00
framework/core Determine error view and message based on type 2019-08-14 19:47:56 +02:00