A php class to manage all the error's