PhpGt / WebEngine

Minimalistic, ergonomic PHP toolkit.
https://www.php.gt/webengine
MIT License
26 stars 6 forks source link

Layers of error handling #642

Open g105b opened 11 months ago

g105b commented 11 months ago

Each page should be able to have its own error() function alongside go and do.

The same goes for the _common page.

Then there should be individual files in page/_error:

Then we'll be able to have the following scenario: