zanbaldwin / eventing

Eventing is a PHP application framework, by Zander Baldwin, based on the HMVC design pattern, licensed under the MIT/X11. This is an unstable, open-source side project.
MIT License
7 stars 0 forks source link

Show document error #23

Closed zanbaldwin closed 12 years ago

zanbaldwin commented 12 years ago

The show_doc() and show_error() are meant to intertwined with one another, though they really have not been thought through properly. Error reporting is an extremely important aspect of the framework, so this must be rethought, and rewritten.

zanbaldwin commented 12 years ago

show_doc() has now been merged into the show_error() document. show_error()'s parameters have been juggled around too, so any instance of show_error() has been altered to compensate for that. Parameters are now $header (which defaults to 500 Framework Application Error) and $message.