lightweight errors as exceptions solution for PHP