Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.
I am building an application and want a way to manage the errors that it produces. Something like when you get error number 1234 etc.
I am not referring to actual PHP generated errors, I mean notices that my application generates for example when someone tries to do something I dont like OR a function returns unexpected results.
Is there an accepted method of doing this when building applications?