Provide explicit error kind for disambiguation of underlying cause.
Merge pull request #622 from square/jw/error-kind

Provide explicit error kind for disambiguation of underlying cause.