adds more detailed messages to exceptions #38