Include the class name in the error message