A simple component for simplifying PHP error handling