We have a bit of a hacks in handleError after #11: split info error should be passed as a status code from FrostFS but returned as a generic error anyway.
Consider making changes in API and storage node to avoid having split info error in transport error layer.
Or consider making handleError function parsing only error type without working with any statuses, so it will be at least consistent.
We have a bit of a hacks in
handleErrorafter #11: split info error should be passed as a status code from FrostFS but returned as a generic error anyway.Consider making changes in API and storage node to avoid having split info error in transport error layer.
Or consider making
handleErrorfunction parsing onlyerrortype without working with any statuses, so it will be at least consistent.