Allegro error checking system

This is a discussion on Allegro error checking system within the Game Programming forums, part of the General Programming Boards category; I am making an Allegro game, and I think it would be good to have a nice error checking system ...

Allegro error checking system

I am making an Allegro game, and I think it would be good to have a nice error checking system laid out before I start coding, this is how I usualy do it, I don't think it is good enough, what kind of systems do you use with your Allegro programs?