Stored Query Errors in my Database Class

I made a public Error variable which will store the error that occurs when querying the database.