Slightly better error message for dummy getter