Skip to content

Locator uses helper for errors creation

Pavlo Strokov requested to merge ps-locator into master

We should not use status package to create errors as it could lead to a double status wrapping with overriding of the initial status code. Also, it may confuse as it seems like there was a gPRC call that returned an error. By using own helpers we also can change implementation without affecting places of usage.

As this code was not covered with tests they were added to make it more stable.

Merge request reports