change unauthorized to unauthorizedError
Merge pull request #4 from hoist/feature/connector_errors

change unauthorized to unauthorizedError