Better error when client cannot configure trans.

Use a different error code to differentiate from the
server errors that could happen.
Merge pull request #172 from kumar303/error

Better error when client cannot configure trans.