Error handlers must come first.
Use class constants.
Simplified for easy overwriting and created navigation for logged in users.
Renamed methods to stack* for consistency.
Simplified, removed unnecessary check for view, an exception is thrown anyways.