Move error translation to a new class
This change moves error translation to a standalone class and adds tests. Moving this function out creates a home for other translation functions in the future, enables testing and makes these functions more reusable across SMB related code without creating a dependence on SmbFileSystem. Test=unittests Bug: chromium:757625 Change-Id: I4d763cde59c0918b6517b2d3d48cb15807f69426 Reviewed-on: https://chromium-review.googlesource.com/1056321 Commit-Queue: Bailey Berro <baileyberro@chromium.org> Reviewed-by:Zentaro Kavanagh <zentaro@chromium.org> Cr-Commit-Position: refs/heads/master@{#558986}
Showing
Please register or sign in to comment