Makes comparison errors easier to read by including types in the message