added some diagnostic info to exceptions. close #27