Use single error message for better compatibility
Use single error message for better compatibility
Merge pull request #16 from jpirkey/jpirkey-better-error-handling-in-connection

Better compatibility in exceptions.