frostfs-node/pkg
Leonard Lyubich 8a2a096680 [#1175] services/sign: Convert `error` to status return
In previous implementation `SignService` converted all `error` values to
`INTERNAL` server failure status. That was done for simplification only.
There is a need to transmit status errors as corresponding status
messages.

Make `SignService` to unwrap errors and convert them to status message
during writing to the response. Non-status errors are converted to
`INTERNAL` server failures. Status errors can also be wrapped in the
depths of the executable code, so `SignService` tries to unwrap them.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-03-15 13:03:23 +03:00
..
core [#1175] object/fmt: Handle `LOCK` objects 2022-03-15 13:03:23 +03:00
innerring [#1231] Update new SDK Client interface 2022-03-14 13:18:48 +03:00
local_object_storage [#1175] object/fmt: Handle `LOCK` objects 2022-03-15 13:03:23 +03:00
metrics
morph [#1212] morph: Fix NPE in multi client 2022-03-04 12:16:11 +03:00
network [#1231] Update new SDK Client interface 2022-03-14 13:18:48 +03:00
services [#1175] services/sign: Convert `error` to status return 2022-03-15 13:03:23 +03:00
util [#1115] *: link TODOs to corresponding issues 2022-02-11 12:58:59 +03:00