summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-02-09 07:12:08 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-02-09 07:12:08 -0500
commit9152c0bdc8e23ca0ff03c72c5891d3db9c5e9d4f (patch)
tree71380b0d093ae453318cc561f8e84387005c6895 /index.php
parent12d7c30ef79c5ad84b7bac5e4863db3ce4e23621 (diff)
First steps to using exceptions for error handling
Added two exception classes: one for client errors (= user can fix) and one for server errors (only admin or coder can fix). The web entry point now tries to catch exceptions and show them in the browser. The main code for showing errors in Action class now throws an exception and lets top-level handle it.
Diffstat (limited to 'index.php')
0 files changed, 0 insertions, 0 deletions