frostfs-node/pkg/services
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
..
accounting [#625] client/balance: remove intermediate wrapper 2022-02-08 09:43:54 +03:00
audit [#1195] Adopt recent changes in NeoFS SDK 2022-02-28 10:43:03 +03:00
container [#1195] Adopt recent changes in NeoFS SDK 2022-02-28 10:43:03 +03:00
control [#1111] control: Rename aliaces 2022-03-05 10:06:14 +03:00
id [#11] Trim the old functionality 2020-10-02 11:22:55 +03:00
netmap [#961] *: Support NeoFS API status returns 2021-11-24 09:26:40 +03:00
notificator [#1183] node: Add NATS client 2022-03-05 15:57:24 +03:00
object [#1231] Update new SDK Client interface 2022-03-14 13:18:48 +03:00
object_manager [#1214] *: Use single Object type in whole project 2022-03-04 17:45:00 +03:00
policer [#1115] *: link TODOs to corresponding issues 2022-02-11 12:58:59 +03:00
replicator [#1230] replicator: Improve error log 2022-03-10 19:19:18 +03:00
reputation [#961] *: Support NeoFS API status returns 2021-11-24 09:26:40 +03:00
session [#1133] services/session: remove expired tokens every epoch 2022-02-08 14:58:32 +03:00
util [#1175] services/sign: Convert error to status return 2022-03-15 13:03:23 +03:00