frostfs-api-go/status
Leonard Lyubich 32dd0bb3f9 [#369] status: Support WRONG_MAGIC_NUMBER code and detail
Define constant for `WrongMagicNumber` local code. Define constant
`DetailIDCorrect` for correct magic detail. Add `ResetDetails`
and `AppendDetails` method pair. Replace `SetDetails` method with new
`SetStatusDetails` function which can be implemented using new methods.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-01-27 16:53:16 +03:00
..
grpc [#369] status: Compile sources with detailed magic number 2022-01-27 16:53:16 +03:00
test [#369] status: Support WRONG_MAGIC_NUMBER code and detail 2022-01-27 16:53:16 +03:00
convert.go Re-compile NeoFS API proto files using updated script 2021-11-17 15:29:33 +03:00
details.go [#369] status: Support WRONG_MAGIC_NUMBER code and detail 2022-01-27 16:53:16 +03:00
marshal.go Re-compile NeoFS API proto files using updated script 2021-11-17 15:29:33 +03:00
message_test.go Re-compile NeoFS API proto files using updated script 2021-11-17 15:29:33 +03:00
status.go [#369] status: Support WRONG_MAGIC_NUMBER code and detail 2022-01-27 16:53:16 +03:00
types.go [#369] status: Support WRONG_MAGIC_NUMBER code and detail 2022-01-27 16:53:16 +03:00