Merge of pass-errors branch

https://github.com/mapbox/mapbox-upload/pull/3 applied to `source-upload` refactor.

cc @camilleanne