use repr in error messages
Merge pull request #86 from dannyroberts/error-message-repr

use repr in error messages